fix: some improvements

This commit is contained in:
Ramesh Mane
2026-03-04 14:42:44 +00:00
parent da7a371dc1
commit 6fed0013a0
6 changed files with 47 additions and 11 deletions

View File

@@ -47,11 +47,8 @@ const navigateToBaseSettings = (page: string) => {
const activeBaseSettingsTab = computed(() => {
if (activeSidebarTab.value !== 'settings') return ''
const page = route.value.params.page as string
return page ? baseSettingsSlugToTab[page] || '' : ''
})
watchEffect(() => {
console.log("'activeBaseSettingsTab'", activeBaseSettingsTab.value)
return page ? baseSettingsSlugToTab[page] || '' : 'members'
})
// Use injected base role for immediate permission checks; load full roles in background