fix: correct typo in property name from "Entreprise" to "Enterprise" (#9916)
The property name "hasValidEntrepriseKey" was corrected to "hasValidEnterpriseKey" across multiple files for consistency and accuracy. This ensures proper alignment with naming conventions and avoids potential issues in usage or understanding.
This commit is contained in:
@ -38,7 +38,7 @@ export const SettingsSSOIdentitiesProvidersListCard = () => {
|
||||
|
||||
const { loading } = useListSsoIdentityProvidersByWorkspaceIdQuery({
|
||||
fetchPolicy: 'network-only',
|
||||
skip: currentWorkspace?.hasValidEntrepriseKey === false,
|
||||
skip: currentWorkspace?.hasValidEnterpriseKey === false,
|
||||
onCompleted: (data) => {
|
||||
setSSOIdentitiesProviders(
|
||||
data?.listSSOIdentityProvidersByWorkspaceId ?? [],
|
||||
@ -54,11 +54,11 @@ export const SettingsSSOIdentitiesProvidersListCard = () => {
|
||||
return loading || !SSOIdentitiesProviders.length ? (
|
||||
<StyledLink
|
||||
to={getSettingsPath(SettingsPath.NewSSOIdentityProvider)}
|
||||
isDisabled={currentWorkspace?.hasValidEntrepriseKey !== true}
|
||||
isDisabled={currentWorkspace?.hasValidEnterpriseKey !== true}
|
||||
>
|
||||
<SettingsCard
|
||||
title={t`Add SSO Identity Provider`}
|
||||
disabled={currentWorkspace?.hasValidEntrepriseKey !== true}
|
||||
disabled={currentWorkspace?.hasValidEnterpriseKey !== true}
|
||||
Icon={<IconKey />}
|
||||
/>
|
||||
</StyledLink>
|
||||
|
||||
Reference in New Issue
Block a user