Skip to content

Commit

Permalink
Set isRemovable to true if admin user.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnemorken committed Dec 13, 2023
1 parent c656e1e commit 2c4a48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/mysql/types/user/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
model: model,
isEditable: is_admin || is_new || is_me,
isDeletable: is_admin || is_new || is_me,
isRemovable: false,
isRemovable: is_admin,
edit: is_new,
};
var view = new userViewTabs(view_options);
Expand Down

0 comments on commit 2c4a48c

Please sign in to comment.