1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

reinstates actions running when sidepanel closes

This commit is contained in:
mikesealey 2024-04-18 10:08:48 +01:00
parent ad10679115
commit 6c38d32549

View file

@ -5,7 +5,7 @@
const { styleable, sidePanelStore, builderStore, dndIsDragging } =
getContext("sdk")
export let sidePanelClose
export let onClose
export let ignoreClicksOutside
// Automatically show and hide the side panel when inside the builder.
@ -48,8 +48,8 @@
}
const handleSidePanelClose = async () => {
if (sidePanelClose) {
await sidePanelClose()
if (onClose) {
await onClose()
}
}