Skip to content

Commit

Permalink
navigation fix (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro100 authored Sep 6, 2024
1 parent ce1b726 commit f45ed96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-app/src/app/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export default function DrawerAppBar(): React.ReactElement {
<Box sx={{ display: { xs: 'none', md: 'block' } }}>
{navigationItems.map((item) => (
<Button
href={item.target}
href={item.external === true ? item.target : '/' + item.target}
key={item.title}
sx={{ color: item.color, minWidth: 'fit-content', mx: 1 }}
target={item.external === true ? '_blank' : '_self'}
Expand Down

0 comments on commit f45ed96

Please sign in to comment.