|
|
@ -17,8 +17,6 @@ const { tabs, activeTabIndex, activeTab, closeTab } = useTabs() |
|
|
|
|
|
|
|
|
|
|
|
const { isUIAllowed } = useUIPermission() |
|
|
|
const { isUIAllowed } = useUIPermission() |
|
|
|
|
|
|
|
|
|
|
|
const { isSharedBase } = useProject() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const tableCreateDialog = ref(false) |
|
|
|
const tableCreateDialog = ref(false) |
|
|
|
const airtableImportDialog = ref(false) |
|
|
|
const airtableImportDialog = ref(false) |
|
|
|
const quickImportDialog = ref(false) |
|
|
|
const quickImportDialog = ref(false) |
|
|
@ -45,7 +43,7 @@ const icon = (tab: TabItem) => { |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="h-full w-full nc-container pt-[9px]" :class="{ shared: isSharedBase }"> |
|
|
|
<div class="h-full w-full nc-container pt-[9px]"> |
|
|
|
<div class="h-full w-full flex flex-col"> |
|
|
|
<div class="h-full w-full flex flex-col"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<a-tabs v-model:activeKey="activeTabIndex" class="nc-root-tabs" type="editable-card" @edit="closeTab"> |
|
|
|
<a-tabs v-model:activeKey="activeTabIndex" class="nc-root-tabs" type="editable-card" @edit="closeTab"> |
|
|
@ -160,9 +158,6 @@ const icon = (tab: TabItem) => { |
|
|
|
.nc-container { |
|
|
|
.nc-container { |
|
|
|
height: calc(100vh - var(--header-height)); |
|
|
|
height: calc(100vh - var(--header-height)); |
|
|
|
flex: 1 1 100%; |
|
|
|
flex: 1 1 100%; |
|
|
|
&.shared { |
|
|
|
|
|
|
|
height: calc(100vh - var(--header-height) - 20px); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
:deep(.nc-root-tabs) { |
|
|
|
:deep(.nc-root-tabs) { |
|
|
|