fix: replace showEEFeatures with isEEFeatureBlocked for correct CE/on-prem gating

This commit is contained in:
Ramesh Mane
2026-04-13 17:23:10 +00:00
parent 3e9c8c1e2b
commit a77b0191c2
3 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ const { appInfo, isMobileMode, activeBreakpoint } = useGlobal()
const { orgRoles } = useRoles()
const { showEEFeatures } = useEeConfig()
const { showEEFeatures, isEEFeatureBlocked } = useEeConfig()
const { isFeatureEnabled } = useBetaFeatureToggle()
@@ -36,7 +36,7 @@ const filterOptions = computed<NcListItemType[]>(() => {
...(appInfo.value.ee
? [
{ value: 'starred', label: t('general.starred'), icon: 'star' },
...(showEEFeatures.value
...(showEEFeatures.value && !isEEFeatureBlocked.value
? [
{ value: 'private', label: t('general.private'), icon: 'ncLock' },
...(isFeatureEnabled(FEATURE_FLAG.MANAGED_APPS)