fix: some improvements

This commit is contained in:
Ramesh Mane
2026-03-04 14:42:41 +00:00
parent 5dd63f8428
commit 664235f31a
5 changed files with 67 additions and 32 deletions

View File

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