This commit is contained in:
Timothy J. Baek 2024-06-11 18:23:42 -07:00
parent a43cb1eb25
commit 48ac4d9f2a

View File

@ -21,6 +21,16 @@
export let tools = {};
export let onClose: Function;
$: tools = Object.fromEntries(
Object.keys(tools).map((toolId) => [
toolId,
{
...tools[toolId],
enabled: selectedToolIds.includes(toolId)
}
])
);
let show = false;
</script>