1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

Merge pull request #12311 from Budibase/fix-section-crash

Fix bug in SectionSelect
This commit is contained in:
Andrew Kingston 2023-11-20 09:45:07 +00:00 committed by GitHub
commit 5a17c6e166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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