Browse Source

fix: include missing view id in hard-reload

pull/6466/head
Pranav C 11 months ago
parent
commit
4ab5cbd9b9
  1. 12
      packages/nc-gui/store/views.ts

12
packages/nc-gui/store/views.ts

@ -164,9 +164,15 @@ export const useViewsStore = defineStore('viewsStore', () => {
}
if (hardReload) {
await router.replace({ name: routeName, query: { reload: 'true' }, params: { viewId: tableId, projectId } }).then(() => {
router.replace({ name: routeName, query: {}, params: { viewId: tableId, projectId } })
})
await router
.replace({
name: routeName,
query: { reload: 'true' },
params: { viewId: tableId, projectId, viewTitle: view.id || '' },
})
.then(() => {
router.replace({ name: routeName, query: {}, params: { viewId: tableId, viewTitle: view.id || '', projectId } })
})
}
}

Loading…
Cancel
Save