fix: mod actions no workie
This commit is contained in:
1 parent
33c3fb321f
commit
61ff7d10b4
2 files changed
+3
-3
No files matched your search
@@ -73,10 +73,10 @@
|
|||||||
{#snippet extended()}
|
{#snippet extended()}
|
||||||
<div class="flex flex-row gap-2 flex-wrap items-end">
|
<div class="flex flex-row gap-2 flex-wrap items-end">
|
||||||
<Select
|
<Select
|
||||||
bind:value={data.type}
|
bind:value={data.type.value}
|
||||||
onchange={async () => {
|
onchange={async () => {
|
||||||
await tick()
|
await tick()
|
||||||
searchParam(page.url, 'type', data.type, 'page')
|
searchParam(page.url, 'type', data.type.value, 'page')
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{#snippet customLabel()}
|
{#snippet customLabel()}
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ export async function load({ url, fetch }) {
|
|||||||
].sort((a, b) => b.timestamp.getTime() - a.timestamp.getTime())
|
].sort((a, b) => b.timestamp.getTime() - a.timestamp.getTime())
|
||||||
|
|
||||||
return {
|
return {
|
||||||
type: type,
|
type: new ReactiveState(type),
|
||||||
page: page,
|
page: page,
|
||||||
items: new ReactiveState(everything),
|
items: new ReactiveState(everything),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user