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