From 70551cebb7ce3a41d1c6e217b017ac65ee5b9fc6 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Mon, 1 Sep 2025 20:04:56 -0600 Subject: [PATCH] Better navigation on admin app. --- frontend/src/admin/AdminApp.vue | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/frontend/src/admin/AdminApp.vue b/frontend/src/admin/AdminApp.vue index 0eb9ff0..e65b392 100644 --- a/frontend/src/admin/AdminApp.vue +++ b/frontend/src/admin/AdminApp.vue @@ -312,6 +312,12 @@ const selectedUser = computed(() => { return null }) +const pageHeading = computed(() => { + if (selectedUser.value) return 'Organization Admin' + if (selectedOrg.value) return 'Organization Admin' + return (authStore.settings?.rp_name || 'Passkey') + ' Admin' +}) + watch(selectedUser, async (u) => { if (!u) { userDetail.value = null; return } try { @@ -426,11 +432,16 @@ async function submitDialog() {