Skip to content
Snippets Groups Projects
Commit 63bde84d authored by lcross2002's avatar lcross2002
Browse files

add customer bookings header nav

parent 0783a138
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ function Header() {
{isAuth ?
<div>
<NavLink to={userToDashboard(user)} className={activeClass} >Dashboard</NavLink>
{user?.type === 0 && <NavLink to={'customer/bookings'} className={activeClass}>Upcoming Bookings</NavLink>}
{user?.type === 0 && <NavLink to={'booking/query'} className={activeClass}>Book a Flight</NavLink>}
{user?.type === 1 && <NavLink to={`flights?id=${user.id}`} className={activeClass}>Flight List</NavLink>}
<NavLink to={'logout'} className={activeClass}>Logout</NavLink>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment