fixed wrong boolean association
This commit is contained in:
@@ -52,7 +52,7 @@ Vue.component("User", {
|
||||
}),
|
||||
computed: {
|
||||
canManageUsers() {
|
||||
return window['TT_CONFIG']['CAN_MANAGE_USERS'] === true;
|
||||
return window['TT_CONFIG']['CAN_MANAGE_USERS'] === '1';
|
||||
},
|
||||
UserTableConfig() {
|
||||
const headers = [
|
||||
@@ -118,4 +118,4 @@ Vue.component("User", {
|
||||
this.selectedUserForMail = null;
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user