Fix bug in SectionSelect

This commit is contained in:
Andrew Kingston 2023-11-07 15:02:45 +00:00
parent 44d111d42d
commit 34693481b1
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@
} }
</script> </script>
<ActionButton on:click={modal.show}>{layoutMap[value].name}</ActionButton> <ActionButton on:click={modal.show}>
{layoutMap[value || "mainSidebar"].name}
</ActionButton>
<Modal bind:this={modal}> <Modal bind:this={modal}>
<ModalContent <ModalContent
onConfirm={() => dispatch("change", selected)} onConfirm={() => dispatch("change", selected)}