From d526b2a98d76da4815cc7f333396032152c3422c Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Tue, 17 Feb 2026 12:27:57 +0000 Subject: [PATCH] Group OIDC sessions correctly in profile view. --- frontend/src/components/ProfileView.vue | 4 +-- frontend/src/components/SessionList.vue | 36 +++++++++++-------------- paskia/util/apistructs.py | 13 +++++++-- 3 files changed, 28 insertions(+), 25 deletions(-) diff --git a/frontend/src/components/ProfileView.vue b/frontend/src/components/ProfileView.vue index f4149e0..af36883 100644 --- a/frontend/src/components/ProfileView.vue +++ b/frontend/src/components/ProfileView.vue @@ -201,13 +201,13 @@ const userInfoSection = ref(null) const hasActiveModal = computed(() => showNameDialog.value || showEmailDialog.value || showPreferredUsernameDialog.value || showRegLink.value) watch(showNameDialog, (newVal) => { if (newVal) newName.value = authStore.userInfo?.ctx.user.display_name ?? '' }) -watch(showEmailDialog, (newVal) => { +watch(showEmailDialog, (newVal) => { if (newVal) { newEmail.value = authStore.userInfo?.ctx.user.email ?? '' emailError.value = '' } }) -watch(showPreferredUsernameDialog, (newVal) => { +watch(showPreferredUsernameDialog, (newVal) => { if (newVal) { newPreferredUsername.value = authStore.userInfo?.ctx.user.preferred_username ?? '' preferredUsernameError.value = '' diff --git a/frontend/src/components/SessionList.vue b/frontend/src/components/SessionList.vue index feeae17..09c6922 100644 --- a/frontend/src/components/SessionList.vue +++ b/frontend/src/components/SessionList.vue @@ -7,10 +7,11 @@