We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ffaaef commit 7a8c7aeCopy full SHA for 7a8c7ae
browser-extension/src/side-panel.ts
@@ -51,7 +51,7 @@ browser.runtime.onMessage.addListener(async (m: any) => {
51
let msg = BrowserMessage.fromJsonObject(m)
52
if (msg instanceof ResizeSidebar) {
53
resize(msg.size)
54
- setSidebarIframeStyle(iframe, msg.height, msg.position)
+ msg.height && msg.position && setSidebarIframeStyle(iframe, msg.height, msg.position)
55
} else if (msg instanceof FlowStepExecution) {
56
return await new FlowExecutor(0).runStep(msg.step)
57
}
0 commit comments