fix: admin button order
This commit is contained in:
1 parent
29432e0e15
commit
dea195d2cb
4 files changed
+26
-24
No files matched your search
@@ -7,7 +7,10 @@
|
||||
export let icon: IconSource | undefined = undefined
|
||||
export let href: string | undefined = undefined
|
||||
|
||||
$: isSelected = href != undefined && $page.url.pathname == href
|
||||
export let isSelectedFilter: (path: string) => boolean = (path) =>
|
||||
href != undefined && path == href
|
||||
|
||||
$: isSelected = isSelectedFilter($page.url.pathname)
|
||||
</script>
|
||||
|
||||
<Button
|
||||
|
||||
Reference in new issue
Block a user