diff --git a/source/frontend/src/components/layout/SideNavBar/SideNavbar.tsx b/source/frontend/src/components/layout/SideNavBar/SideNavbar.tsx index 8836974577..0b0d198f7e 100644 --- a/source/frontend/src/components/layout/SideNavBar/SideNavbar.tsx +++ b/source/frontend/src/components/layout/SideNavBar/SideNavbar.tsx @@ -2,6 +2,7 @@ import clsx from 'classnames'; import { useContext, useState } from 'react'; import { FaBriefcase } from 'react-icons/fa'; import { MdChevronLeft, MdChevronRight, MdContactMail, MdHome } from 'react-icons/md'; +import { TbArrowBounce } from 'react-icons/tb'; import { useHistory } from 'react-router-dom'; import { ReactComponent as AdminPanelSettings } from '@/assets/images/admin-panel-settings.svg'; @@ -57,6 +58,12 @@ export const SideNavBar = () => { text="Leases & Licenses" showText={expanded} /> + setTrayPage(SidebarContextType.DISPOSITION)} + icon={} + text="Disposition" + showText={expanded} + /> setTrayPage(SidebarContextType.CONTACT)} icon={} diff --git a/source/frontend/src/components/layout/SideNavBar/SideTray.tsx b/source/frontend/src/components/layout/SideNavBar/SideTray.tsx index 64455f28ad..13c5c9197f 100644 --- a/source/frontend/src/components/layout/SideNavBar/SideTray.tsx +++ b/source/frontend/src/components/layout/SideNavBar/SideTray.tsx @@ -6,6 +6,7 @@ import { AdminTools, LeaseAndLicenses, ResearchTray } from '@/components/layout' import { AcquisitionTray } from './AcquisitionTray'; import { ContactTray } from './ContactTray'; +import { DispositionTray } from './DispositionTray'; import { ProjectTray } from './ProjectTray'; import * as Styled from './styles'; @@ -16,6 +17,7 @@ export enum SidebarContextType { RESEARCH = 'research', CONTACT = 'contact', ACQUISITION = 'acquisition', + DISPOSITION = 'disposition', } interface ISideTrayProps { @@ -44,6 +46,7 @@ export const SideTray = ({ context, setContext }: ISideTrayProps) => { [SidebarContextType.CONTACT, ], [SidebarContextType.ACQUISITION, ], [SidebarContextType.PROJECT, setShow(false)} />], + [SidebarContextType.DISPOSITION, ], ]); useEffect(() => { diff --git a/source/frontend/src/components/layout/SideNavBar/__snapshots__/SideNavbar.test.tsx.snap b/source/frontend/src/components/layout/SideNavBar/__snapshots__/SideNavbar.test.tsx.snap index 15323daf86..3b6343206f 100644 --- a/source/frontend/src/components/layout/SideNavBar/__snapshots__/SideNavbar.test.tsx.snap +++ b/source/frontend/src/components/layout/SideNavBar/__snapshots__/SideNavbar.test.tsx.snap @@ -281,6 +281,51 @@ exports[`SideNavbar display and logic renders 1`] = ` +