fix(frontend): internal server error on 404 (#2990)

This commit is contained in:
Erb3
2024-12-07 20:45:02 +01:00
committed by GitHub
parent 414e2ed2cd
commit b8957d386a

View File

@@ -203,7 +203,7 @@
<ButtonStyled
type="transparent"
:highlighted="route.name.startsWith('servers')"
:highlighted="route.name?.startsWith('servers')"
:highlighted-style="
route.name === 'servers' ? 'main-nav-primary' : 'main-nav-secondary'
"