1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00

Fix being unable to hide side panels in the binding editor again. Already fixed this but got lost in a merge

This commit is contained in:
Andrew Kingston 2024-03-13 12:06:42 +00:00
parent c9c0384c96
commit 886929b8bc

View file

@ -84,7 +84,7 @@
$: bindingHelpers = new BindingHelpers(getCaretPosition, insertAtPos)
$: {
// Ensure a valid side panel option is always selected
if (!sidePanelOptions.includes(sidePanel)) {
if (sidePanel && !sidePanelOptions.includes(sidePanel)) {
sidePanel = sidePanelOptions[0]
}
}