Browse Source

fix(nc-gui): small changes

nc-feat/open-base-table-view-in-new-tab
Ramesh Mane 9 months ago
parent
commit
2058c87dac
  1. 25
      packages/nc-gui/store/views.ts

25
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,

Loading…
Cancel
Save