fix update role not working

This commit is contained in:
Adrian Zürcher
2026-02-14 13:42:54 +01:00
parent 73901335a3
commit 8963cba016
2 changed files with 4 additions and 0 deletions

View File

@@ -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"

View File

@@ -6,6 +6,7 @@ export interface User {
user: string;
email: string;
role?: Role;
roleId?: number;
expiration?: string;
password?: string;
newPassword?: string;