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:
parent
c9c0384c96
commit
886929b8bc
|
@ -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]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue