Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: refresh command palette on load tables

Ramesh Mane52db452ca0fa
diff --git a/packages/nc-gui/components/dlg/Table/Duplicate.vue b/packages/nc-gui/components/dlg/Table/Duplicate.vue
index 1eee0eaefe..a3c61dc87a 100644
--- a/packages/nc-gui/components/dlg/Table/Duplicate.vue
+++ b/packages/nc-gui/components/dlg/Table/Duplicate.vue
@@ -185,7 +185,8 @@ const _duplicate = async () => {
} else {
// Load target base tables if target workspace is the same as active workspace
if (targetWorkspace.value?.id === activeWorkspace?.id) {
- loadProjectTables(targetBase.value.id!, true)
+ await loadProjectTables(targetBase.value.id!, true)
+ refreshCommandPalette()
}
// TODO: navigating to specified base?