bastislack / highline-freestyle

Webapp for Highline Freestyle
GNU General Public License v3.0
10 stars 9 forks source link

Bug: Tabs of navbar not properly active #335

Closed JulianDietzel closed 6 months ago

JulianDietzel commented 6 months ago

The tabs ("Tricks", "Combos", "Glossary) should be shown as active when any route starting with "/tricks", "/combos" and "/glossary" is open. So if "/tricks/official/2" is shown, then the "Trick" tab should be active. It is not though and it is only active if the exact "/tricks" route is open.

JulianDietzel commented 6 months ago

Fixed. The issue was not the navbar but the structure of src/router/router.ts.