fix: remember atttributeview state in search

feat/type-attributes
Tomáš Mládek 2022-09-05 00:07:23 +02:00
parent ce3420007d
commit 4018cae840
1 changed files with 5 additions and 0 deletions

View File

@ -99,6 +99,7 @@
],
},
];
let lastWidget: string;
</script>
<div>
@ -129,6 +130,10 @@
--current-background="var(--background)"
entries={sortedObjects}
widgets={searchWidgets}
initialWidget={lastWidget}
on:widgetSwitched={(ev) => {
lastWidget = ev.detail;
}}
/>
{/if}
</section>