feat: proper gating

This commit is contained in:
mertmit
2026-04-03 14:46:30 +00:00
parent 3da2ceaf2c
commit e484c109f2
12 changed files with 90 additions and 61 deletions

View File

@@ -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) => {