fix: for oss show only 2 base filter options

This commit is contained in:
Ramesh Mane
2026-02-21 14:20:44 +05:30
parent 611c00667a
commit ff8294518a

View File

@@ -28,9 +28,13 @@ const isSearchFocused = ref(false)
// Filter options in priority order: Starred → Private → Managed → Owned
const filterOptions = computed<NcListItemType[]>(() => [
{ value: 'all', label: t('activity.allBases'), icon: 'ncList' },
{ value: 'starred', label: t('general.starred'), icon: 'star' },
{ value: 'private', label: t('general.private'), icon: 'ncLock' },
{ value: 'managed', label: t('labels.managed'), icon: 'ncBox' },
...(isEeUI
? [
{ value: 'starred', label: t('general.starred'), icon: 'star' },
{ value: 'private', label: t('general.private'), icon: 'ncLock' },
{ value: 'managed', label: t('labels.managed'), icon: 'ncBox' },
]
: []),
{ value: 'owned', label: t('activity.ownedByMe'), icon: 'ncUser' },
])