From 8963cba0160fefaf7a660b7b0a215e9d5fe55dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Z=C3=BCrcher?= Date: Sat, 14 Feb 2026 13:42:54 +0100 Subject: [PATCH] fix update role not working --- src/components/UserEditAllDialog.vue | 3 +++ src/vueLib/models/users.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/src/components/UserEditAllDialog.vue b/src/components/UserEditAllDialog.vue index 2b96dc3..61116d8 100644 --- a/src/components/UserEditAllDialog.vue +++ b/src/components/UserEditAllDialog.vue @@ -30,6 +30,9 @@ class="col-5 required" :label="$t('role')" filled + option-label="role" + option-value="role" + emit-value :options="props.roles" :rules="[(val) => !!val || $t('roleIsRequired')]" v-model="role" diff --git a/src/vueLib/models/users.ts b/src/vueLib/models/users.ts index ffccdfa..ad8cc59 100644 --- a/src/vueLib/models/users.ts +++ b/src/vueLib/models/users.ts @@ -6,6 +6,7 @@ export interface User { user: string; email: string; role?: Role; + roleId?: number; expiration?: string; password?: string; newPassword?: string;