diff --git a/packages/nc-gui/components/dashboard/TreeView/TableNode.vue b/packages/nc-gui/components/dashboard/TreeView/TableNode.vue index 8dfae7041c..ef3e11ea30 100644 --- a/packages/nc-gui/components/dashboard/TreeView/TableNode.vue +++ b/packages/nc-gui/components/dashboard/TreeView/TableNode.vue @@ -206,6 +206,13 @@ const deleteTable = () => { isOptionsOpen.value = false isTableDeleteDialogVisible.value = true } + +// TODO: Should find a way to render the components without using the `nextTick` function +const refreshViews = async () => { + isExpanded.value = false + await nextTick() + isExpanded.value = true +}