ui: Make menu tags active on tags pages
This commit is contained in:
parent
180ec5e29d
commit
5981240280
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user