Skip to content

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

fix(nc-gui): remove empty path search params

Ramesh Maneecbdac81e5ad
diff --git a/packages/nc-gui/components/smartsheet/grid/index.vue b/packages/nc-gui/components/smartsheet/grid/index.vue
index 68f10034ad..d63a79458f 100644
--- a/packages/nc-gui/components/smartsheet/grid/index.vue
+++ b/packages/nc-gui/components/smartsheet/grid/index.vue
@@ -126,7 +126,7 @@ function expandForm(row: Row, state?: Record<string, any>, fromToolbar = false,
query: {
...routeQuery.value,
rowId,
- path: path.join('-'),
+ path: ncIsEmptyArray(path) ? undefined : path.join('-'),
// Remove expand from query to avoid triggering the expanded form on closing the dialog
expand: undefined,
},