From 63861449cfff03b9a89f8ac7dfef6bdba93b7b12 Mon Sep 17 00:00:00 2001 From: Vadim Date: Wed, 21 Oct 2026 15:49:22 +0300 Subject: [PATCH] small fixes --- src/components/NotificationSettings.vue | 71 ++++++++++++++----------- src/components/PasswordChange.vue | 19 ++++--- src/components/SessionsList.vue | 24 ++++++--- src/components/StatusFilter.vue | 16 ++---- src/components/UserProfile.vue | 10 ++-- src/layouts/DefaultLayout.vue | 2 +- src/router/index.ts | 2 +- src/views/calendar/CalendarView.vue | 18 ++++--- src/views/settings/SettingsView.vue | 2 +- src/views/users/ProfileView.vue | 6 +-- 10 files changed, 97 insertions(+), 73 deletions(-) diff --git a/src/components/NotificationSettings.vue b/src/components/NotificationSettings.vue index 3fbe870..8444516 100644 --- a/src/components/NotificationSettings.vue +++ b/src/components/NotificationSettings.vue @@ -99,12 +99,16 @@ onMounted(async () => { diff --git a/src/components/PasswordChange.vue b/src/components/PasswordChange.vue index 574bb90..0899a8a 100644 --- a/src/components/PasswordChange.vue +++ b/src/components/PasswordChange.vue @@ -17,12 +17,19 @@ const changePassword = async () => { diff --git a/src/components/SessionsList.vue b/src/components/SessionsList.vue index ff355a2..3513593 100644 --- a/src/components/SessionsList.vue +++ b/src/components/SessionsList.vue @@ -44,20 +44,28 @@ watchEffect(async () => { diff --git a/src/components/StatusFilter.vue b/src/components/StatusFilter.vue index da64716..fbefb76 100644 --- a/src/components/StatusFilter.vue +++ b/src/components/StatusFilter.vue @@ -15,7 +15,10 @@ const selected = ref([...status]) const onUpdate = (val: unknown) => { if (!Array.isArray(val)) return const order = statusStore.statuses?.map((el) => el.alias) ?? [] - emit('changed', [...val].sort((a, b) => order.indexOf(a) - order.indexOf(b))) + emit( + 'changed', + [...val].sort((a, b) => order.indexOf(a) - order.indexOf(b)), + ) } watch( @@ -27,16 +30,7 @@ watch(