Skip to content

Commit

Permalink
chore: Remove commented out code for PQRS module in NavBar component
Browse files Browse the repository at this point in the history
  • Loading branch information
S-e-b-a-s committed Jun 20, 2024
1 parent f5db53b commit b8de0a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/components/common/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ const Navbar = () => {
<CustomNavLink to="/logged/blog">Blog</CustomNavLink>
<CustomNavLink to="/logged/sgc">Gestión Documental</CustomNavLink>
<CustomNavLink to="/logged/vacancies">Vacantes</CustomNavLink>
<CustomNavLink to="/logged/pqrs">PQRS</CustomNavLink>
{/* <CustomNavLink to="/logged/pqrs">PQRS</CustomNavLink> */}
{!operationalRiskPermission ? (
<CustomNavLink to="/logged/risk-events">Eventos de Riesgo</CustomNavLink>
) : servicesPermission ? (
Expand Down Expand Up @@ -566,12 +566,12 @@ const Navbar = () => {
</ListItemIcon>
<ListItemText primary="Certificación Laboral" />
</MenuItem>
<MenuItem onClick={handleOpenVacation}>
{/* <MenuItem onClick={handleOpenVacation}>
<ListItemIcon>
<LuggageIcon fontSize="small" />
</ListItemIcon>
<ListItemText primary="Solicitud de Vacaciones" />
</MenuItem>
</MenuItem> */}
<MenuItem onClick={handleLogout}>
<ListItemIcon>
<Logout fontSize="small" />
Expand Down Expand Up @@ -680,14 +680,14 @@ const Navbar = () => {
<ListItemText primary="Certificados Laborales" />
</MenuItem>
) : null}
{permissions && permissions.includes("vacation.view_vacationrequest") ? (
{/* {permissions && permissions.includes("vacation.view_vacationrequest") ? (
<MenuItem onClick={() => navigate("/logged/vacations")}>
<ListItemIcon>
<BeachAccessIcon fontSize="small" />
</ListItemIcon>
<ListItemText primary="Registros de vacaciones" />
</MenuItem>
) : null}
) : null} */}
</Menu>
</>
);
Expand Down
4 changes: 0 additions & 4 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,6 @@ const router = createBrowserRouter([
path: "certifications",
element: <EmploymentCertification />,
},
{
path: "pqrs",
element: <Pqrs />,
},
{
path: "vacations",
element: <Vacations />,
Expand Down

0 comments on commit b8de0a7

Please sign in to comment.