diff --git a/packages/nc-gui-v2/app.vue b/packages/nc-gui-v2/app.vue index ed0cfb2802..812e5cc107 100644 --- a/packages/nc-gui-v2/app.vue +++ b/packages/nc-gui-v2/app.vue @@ -75,7 +75,9 @@ const sidebarOpen = computed({
  - {{ $t('general.signOut') }} + {{ + $t('general.signOut') + }}
diff --git a/packages/nc-gui-v2/components.d.ts b/packages/nc-gui-v2/components.d.ts index c17b11a884..9f33de26f3 100644 --- a/packages/nc-gui-v2/components.d.ts +++ b/packages/nc-gui-v2/components.d.ts @@ -7,6 +7,7 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { + AAnchorLink: typeof import('ant-design-vue/es')['AnchorLink'] AAutoComplete: typeof import('ant-design-vue/es')['AutoComplete'] AButton: typeof import('ant-design-vue/es')['Button'] ACard: typeof import('ant-design-vue/es')['Card'] diff --git a/packages/nc-gui-v2/components/dashboard/TabView.vue b/packages/nc-gui-v2/components/dashboard/TabView.vue index 02bc289ac9..ebcb842020 100644 --- a/packages/nc-gui-v2/components/dashboard/TabView.vue +++ b/packages/nc-gui-v2/components/dashboard/TabView.vue @@ -1,22 +1,137 @@ - + diff --git a/packages/nc-gui-v2/components/dashboard/TreeView.vue b/packages/nc-gui-v2/components/dashboard/TreeView.vue index 20c22b3475..ab122869b1 100644 --- a/packages/nc-gui-v2/components/dashboard/TreeView.vue +++ b/packages/nc-gui-v2/components/dashboard/TreeView.vue @@ -215,7 +215,7 @@ const addTableTab = (table: TableType) => { @contextmenu="setMenuContext('main')" > - {{ $t('objects.tables') }} @@ -231,17 +231,19 @@ const addTableTab = (table: TableType) => { v-for="table in tables" :key="table.id" v-t="['a:table:open']" - :class="{ hidden: !filteredTables?.includes(table) }" + :class="[{ hidden: !filteredTables?.includes(table) }, `nc-project-tree-tbl nc-project-tree-tbl-${table.title}`]" class="!pl-1 py-1 !h-[28px] !my-0 text-sm cursor-pointer group" :data-order="table.order" :data-id="table.id" @click="addTableTab(table)" >
- + - {{ table.title }} + {{ table.title }}