Browse Source

fix: external source adding issue

pull/8479/head
Pranav C 6 months ago
parent
commit
e1547af31b
  1. 3
      packages/nc-gui/store/bases.ts

3
packages/nc-gui/store/bases.ts

@ -43,6 +43,8 @@ export const useBases = defineStore('basesStore', () => {
return basesMap return basesMap
}) })
const isDataSourceLimitReached = computed(() => Number(openedProject.value?.sources?.length) > 9)
const workspaceStore = useWorkspace() const workspaceStore = useWorkspace()
const tableStore = useTablesStore() const tableStore = useTablesStore()
@ -389,6 +391,7 @@ export const useBases = defineStore('basesStore', () => {
toggleStarred, toggleStarred,
basesUser, basesUser,
clearBasesUser, clearBasesUser,
isDataSourceLimitReached,
} }
}) })

Loading…
Cancel
Save