feat: actualizar proyecto completo
This commit is contained in:
@@ -57,6 +57,7 @@ interface AuthContextValue {
|
||||
canManageInternalPricing: boolean;
|
||||
canControlPricingSummary: boolean;
|
||||
canManageTariffCatalog: boolean;
|
||||
canViewTeamHours: boolean;
|
||||
loginWithGoogle: () => Promise<void>;
|
||||
logout: () => Promise<void>;
|
||||
}
|
||||
@@ -199,6 +200,10 @@ export function AuthProvider({ children }: { children: ReactNode }) {
|
||||
() => access?.canManageTariffCatalog === true,
|
||||
[access?.canManageTariffCatalog],
|
||||
);
|
||||
const canViewTeamHours = useMemo(
|
||||
() => access?.canViewTeamHours === true,
|
||||
[access?.canViewTeamHours],
|
||||
);
|
||||
|
||||
return (
|
||||
<AuthContext.Provider
|
||||
@@ -211,6 +216,7 @@ export function AuthProvider({ children }: { children: ReactNode }) {
|
||||
canManageInternalPricing,
|
||||
canControlPricingSummary,
|
||||
canManageTariffCatalog,
|
||||
canViewTeamHours,
|
||||
loginWithGoogle,
|
||||
logout,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user