Browse Source

fix: include missing view id in hard-reload

pull/6466/head
Pranav C 1 year 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) { if (hardReload) {
await router.replace({ name: routeName, query: { reload: 'true' }, params: { viewId: tableId, projectId } }).then(() => { await router
router.replace({ name: routeName, query: {}, params: { viewId: tableId, projectId } }) .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