Browse Source

fix(nc-gui): cast boolean in isXcdbBase

pull/5601/head
Wing-Kam Wong 2 years ago
parent
commit
d39df66752
  1. 2
      packages/nc-gui/store/project.ts

2
packages/nc-gui/store/project.ts

@ -95,7 +95,7 @@ export const useProject = defineStore('projectStore', () => {
}
function isXcdbBase(baseId?: string) {
return bases.value.find((base) => base.id === baseId)?.is_meta
return (bases.value.find((base) => base.id === baseId)?.is_meta as boolean) || false
}
const isSharedBase = computed(() => projectType === 'base')

Loading…
Cancel
Save