Made it so the admin and agent should also be able to edit the amount each corporate should pay

This commit is contained in:
Tiago Ribeiro
2023-11-26 15:15:58 +00:00
parent a9bbbe8b52
commit ca89261e10
6 changed files with 107 additions and 65 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 !== "student" && userType !== "admin" && (
<Nav
disabled={disableNavigation}
Icon={BsShieldFill}