Browse Source

Merge pull request #3153 from nocodb/fix/gui-v2-tab-highlight

fix(gui-v2): update default active index
pull/3162/head
navi 2 years ago committed by GitHub
parent
commit
3520fe99f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/nc-gui-v2/composables/useTabs.ts

4
packages/nc-gui-v2/composables/useTabs.ts

@ -53,8 +53,8 @@ export function useTabs() {
} else if ((route.name as string)?.startsWith('nc-projectId-index-index-auth')) {
return tabs.value.findIndex((t) => t.type === 'auth')
}
return -1
// by default, it's showing Team & Auth
return 0
},
set(index: number) {
if (index === -1) {

Loading…
Cancel
Save