Skip to content

Commit

Permalink
Do not show header for non service DeskMembers
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Feb 1, 2025
1 parent 0b4c0de commit bc3e18e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file modified account-gui/src/favicon.ico
Binary file not shown.
Binary file modified myconext-gui/src/favicon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions servicedesk-gui/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ const App = () => {
</Routes>}
{!isAuthenticated &&
<Routes>
<Route path="/" element={<Navigate replace to="login"/>}/>
<Route path="/home" element={<Navigate replace to="login"/>}/>
<Route path="/" element={<Navigate replace to="404"/>}/>
<Route path="/404" element={<NotFound/>}/>
<Route path="/login" element={<Login/>}/>
<Route path="/*" element={<NotFound/>}/>
</Routes>}
Expand Down
2 changes: 1 addition & 1 deletion servicedesk-gui/src/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const Header = () => {
position={LogoType.Bottom}
color={LogoColor.White}/>
</Link>
{user &&
{(user && user.serviceDeskMember) &&
<UserMenu user={user}
actions={[]}
/>
Expand Down
Binary file modified tiqr-mock/src/main/resources/static/favicon.ico
Binary file not shown.

0 comments on commit bc3e18e

Please sign in to comment.