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