fixed wrong boolean association

This commit is contained in:
Luca Haid
2026-01-07 09:49:43 +00:00
parent d526d0e382
commit 62ed7f4a5d

View File

@@ -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;
}
}
});
});