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. 11
      packages/nc-gui/store/views.ts

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

@ -266,7 +266,8 @@ export const useViewsStore = defineStore('viewsStore', () => {
}
} else {
if (cmdOrCtrl) {
const href = router.resolve({
await navigateTo(
router.resolve({
name: routeName,
params: {
viewTitle: view.id || '',
@ -274,11 +275,11 @@ export const useViewsStore = defineStore('viewsStore', () => {
baseId: baseIdOrBaseId,
slugs,
},
}).href
await navigateTo(href, {
}).href,
{
open: navigateToBlankTargetOpenOption,
})
},
)
} else {
await router.push({
name: routeName,

Loading…
Cancel
Save