diff --git a/packages/nc-gui/store/views.ts b/packages/nc-gui/store/views.ts index 5c2a1c9e10..d767a94af6 100644 --- a/packages/nc-gui/store/views.ts +++ b/packages/nc-gui/store/views.ts @@ -266,19 +266,20 @@ export const useViewsStore = defineStore('viewsStore', () => { } } else { if (cmdOrCtrl) { - const href = router.resolve({ - name: routeName, - params: { - viewTitle: view.id || '', - viewId: tableId, - baseId: baseIdOrBaseId, - slugs, + await navigateTo( + router.resolve({ + name: routeName, + params: { + viewTitle: view.id || '', + viewId: tableId, + baseId: baseIdOrBaseId, + slugs, + }, + }).href, + { + open: navigateToBlankTargetOpenOption, }, - }).href - - await navigateTo(href, { - open: navigateToBlankTargetOpenOption, - }) + ) } else { await router.push({ name: routeName,