Update navbar component

This commit is contained in:
Hazem Krimi
2021-05-01 19:40:22 +01:00
parent 5c97d044cb
commit 743274940e
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -31,7 +31,11 @@ const Navbar = ({ withSidebar }: NavbarProps) => {
items={ items={
role !== 'admin' role !== 'admin'
? [ ? [
{ icon: <Settings />, label: 'Settings', action: () => {} }, {
icon: <Settings />,
label: 'Settings',
action: () => history.push('/settings'),
},
{ {
icon: <Logout />, icon: <Logout />,
label: 'Logout', label: 'Logout',
+1
View File
@@ -16,6 +16,7 @@ export const Wrapper = styled.div<WrapperProps>`
user-select: none; user-select: none;
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 99;
svg { svg {
display: flex; display: flex;