Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: for oss show only 2 base filter options

Ramesh Maneff8294518ab2
diff --git a/packages/nc-gui/components/workspace/BaseListModal/BasesHeader.vue b/packages/nc-gui/components/workspace/BaseListModal/BasesHeader.vue
index c81973fc91..5a6e8d8603 100644
--- a/packages/nc-gui/components/workspace/BaseListModal/BasesHeader.vue
+++ b/packages/nc-gui/components/workspace/BaseListModal/BasesHeader.vue
@@ -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' },
])