const url

This commit is contained in:
Tom Hubrecht 2022-03-12 05:10:45 +01:00
parent a51cfd0cef
commit 800a9c1f01

View file

@ -80,10 +80,10 @@
}); });
} }
const url = () => { const url = (() => {
const source = mkSource(item); const source = mkSource(item);
return source ? source.export_url : undefined; return source ? source.export_url : undefined;
}; })();
$: selected = $: selected =
$filtering === CHECKED ? [item, ...subselected.flat()] : subselected.flat(); $filtering === CHECKED ? [item, ...subselected.flat()] : subselected.flat();
@ -97,7 +97,7 @@
on:change={handleChange} on:change={handleChange}
value={item} value={item}
bind:collapsed bind:collapsed
url={url()} {url}
/> />
</div> </div>