Prevent scrollbar from shifting content

This commit is contained in:
Daniel Cojocea committed 2024-09-07 14:54:19 -04:00
1 parent d117f38a83
commit 409bb3262f
4 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ const Account = ({ open = "profile" }) => {
const { user } = useSelector((state) => state.auth);
const requiredRoles = ["superadmin", "admin"];
let tabList = ["Profile", "Team", "Password"];
let tabList = ["Profile", "Password", "Team"];
const hideTeams = !requiredRoles.some((role) => user.role.includes(role));
if (hideTeams) {
tabList = ["Profile", "Password"];