ui: Make menu tags active on tags pages

This commit is contained in:
nemunaire 2024-09-18 10:47:59 +02:00
parent 180ec5e29d
commit 5981240280

View File

@ -1,4 +1,6 @@
<script> <script>
import { page } from '$app/stores';
import { import {
Badge, Badge,
Dropdown, Dropdown,
@ -14,7 +16,7 @@
let filter = ""; let filter = "";
</script> </script>
<Dropdown nav inNavbar> <Dropdown nav inNavbar active={$page.params.tag}>
<DropdownToggle nav caret> <DropdownToggle nav caret>
<Icon name="tags" /> <Icon name="tags" />
Tags Tags