mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 13:56:37 +00:00
feat: proper gating
This commit is contained in:
@@ -27,10 +27,7 @@ const {
|
||||
} = useEeConfig()
|
||||
|
||||
const isWorkspaceSsoAvail = computed(() => {
|
||||
if (isEeUI && appInfo.value?.isCloud && getFeature(PlanFeatureTypes.FEATURE_SSO)) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
return isEeUI && (appInfo.value?.isCloud || appInfo.value?.isOnPrem) && getFeature(PlanFeatureTypes.FEATURE_SSO)
|
||||
})
|
||||
|
||||
const navigateToWsSettings = (page: string) => {
|
||||
|
||||
Reference in New Issue
Block a user