diff --git a/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue b/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue index a9810a14eb..3c30e105d7 100644 --- a/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue +++ b/packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue @@ -47,6 +47,11 @@ function onOpenModal({ force: true, }) + table.value.meta = { + ...(table.value.meta as object), + hasNonDefaultViews: true, + } + navigateToView({ view, tableId: table.value.id!, diff --git a/packages/nc-gui/components/dashboard/TreeView/TableNode.vue b/packages/nc-gui/components/dashboard/TreeView/TableNode.vue index 2be468ce4a..cfc05e1b46 100644 --- a/packages/nc-gui/components/dashboard/TreeView/TableNode.vue +++ b/packages/nc-gui/components/dashboard/TreeView/TableNode.vue @@ -167,13 +167,20 @@ const isTableOpened = computed(() => { @click="onOpenTable" >