Commit 48ac4d9f authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent a43cb1eb
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment