fix: some review changes

This commit is contained in:
Ramesh Mane
2026-03-28 07:09:13 +00:00
parent fcf581eab7
commit a8af0e3b7f
4 changed files with 37 additions and 30 deletions

View File

@@ -24,6 +24,8 @@ const { orgRoles } = useRoles()
const { showEEFeatures } = useEeConfig()
const { isFeatureEnabled } = useBetaFeatureToggle()
const isFilterDropdownOpen = ref(false)
const isSuperAdmin = computed(() => !!orgRoles.value?.[OrgUserRoles.SUPER_ADMIN])
@@ -36,7 +38,9 @@ const filterOptions = computed<NcListItemType[]>(() => [
...(showEEFeatures.value
? [
{ value: 'private', label: t('general.private'), icon: 'ncLock' },
{ value: 'managed', label: t('labels.managed'), icon: 'ncBox' },
...(isFeatureEnabled(FEATURE_FLAG.MANAGED_APPS)
? [{ value: 'managed', label: t('labels.managed'), icon: 'ncBox' }]
: []),
]
: []),
]