Skip to content

Commit

Permalink
Merge pull request #12311 from Budibase/fix-section-crash
Browse files Browse the repository at this point in the history
Fix bug in SectionSelect
  • Loading branch information
aptkingston authored Nov 20, 2023
2 parents 002023a + 536f7df commit 5a17c6e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit 5a17c6e

Please sign in to comment.