From 62ed7f4a5d11577ea329cc8dd92f8a6e1efaf7f7 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Wed, 7 Jan 2026 09:49:43 +0000 Subject: [PATCH] fixed wrong boolean association --- public/js/pages/User/User.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/pages/User/User.js b/public/js/pages/User/User.js index 6cb411b16..fe5cce0ab 100644 --- a/public/js/pages/User/User.js +++ b/public/js/pages/User/User.js @@ -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; } } -}); \ No newline at end of file +});