Browse Source

fix: external source adding issue

pull/8479/head
Pranav C 7 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
})
const isDataSourceLimitReached = computed(() => Number(openedProject.value?.sources?.length) > 9)
const workspaceStore = useWorkspace()
const tableStore = useTablesStore()
@ -389,6 +391,7 @@ export const useBases = defineStore('basesStore', () => {
toggleStarred,
basesUser,
clearBasesUser,
isDataSourceLimitReached,
}
})

Loading…
Cancel
Save