Skip to content

Commit

Permalink
Merge pull request #870 from bluewave-labs/develop
Browse files Browse the repository at this point in the history
Develop -> Master
  • Loading branch information
ajhollid authored Sep 24, 2024
2 parents 21c0f82 + 17deed8 commit f475375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/src/Components/Sidebar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function Sidebar() {
const { user } = useSelector((state) => state.auth);

// Remove demo password if demo
const accountMenuItem = menu.find((item) => item.name === "account");
const accountMenuItem = menu.find((item) => item.name === "Account");
if (user.role?.includes("demo") && accountMenuItem) {
accountMenuItem.nested = accountMenuItem.nested.filter((item) => {
return item.name !== "Password";
Expand Down

0 comments on commit f475375

Please sign in to comment.