Changed the way the settings is viewable

This commit is contained in:
Tiago Ribeiro
2023-11-27 10:32:02 +00:00
parent 75875b49e6
commit fdedc2c5d3
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ export default function Sidebar({path, navDisabled = false, focusMode = false, u
)}
<Nav disabled={disableNavigation} Icon={BsGraphUp} label="Stats" path={path} keyPath="/stats" isMinimized={isMinimized} />
<Nav disabled={disableNavigation} Icon={BsClockHistory} label="Record" path={path} keyPath="/record" isMinimized={isMinimized} />
{userType !== "student" && userType !== "admin" && (
{["admin", "developer", "corporate", "teacher"].includes(userType || "") && (
<Nav
disabled={disableNavigation}
Icon={BsShieldFill}