fix update role not working
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -6,6 +6,7 @@ export interface User {
|
||||
user: string;
|
||||
email: string;
|
||||
role?: Role;
|
||||
roleId?: number;
|
||||
expiration?: string;
|
||||
password?: string;
|
||||
newPassword?: string;
|
||||
|
||||
Reference in New Issue
Block a user