|
|
|
@ -15,7 +15,7 @@ const basesStore = useBases()
|
|
|
|
|
|
|
|
|
|
const { createProject: _createProject, updateProject } = basesStore |
|
|
|
|
|
|
|
|
|
const { bases, basesList, activeProjectId } = storeToRefs(basesStore) |
|
|
|
|
const { bases, basesList, activeProjectId, b } = storeToRefs(basesStore) |
|
|
|
|
|
|
|
|
|
const { isWorkspaceLoading } = storeToRefs(useWorkspace()) |
|
|
|
|
|
|
|
|
@ -23,7 +23,7 @@ const baseCreateDlg = ref(false)
|
|
|
|
|
|
|
|
|
|
const baseStore = useBase() |
|
|
|
|
|
|
|
|
|
const { isSharedBase } = storeToRefs(baseStore) |
|
|
|
|
const { isSharedBase, base } = storeToRefs(baseStore) |
|
|
|
|
|
|
|
|
|
const { activeTable: _activeTable } = storeToRefs(useTablesStore()) |
|
|
|
|
|
|
|
|
@ -100,7 +100,7 @@ const duplicateTable = async (table: TableType) => {
|
|
|
|
|
|
|
|
|
|
const isCreateTableAllowed = computed( |
|
|
|
|
() => |
|
|
|
|
isUIAllowed('tableCreate') && |
|
|
|
|
isUIAllowed('tableCreate', { source: base.value?.sources?.[0] }) && |
|
|
|
|
route.value.name !== 'index' && |
|
|
|
|
route.value.name !== 'index-index' && |
|
|
|
|
route.value.name !== 'index-index-create' && |
|
|
|
|