mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Fix issue preventing execution preview loading when in an iframe (#5817)
This commit is contained in:
@@ -3885,8 +3885,8 @@ export default mixins(
|
|||||||
this.bindCanvasEvents();
|
this.bindCanvasEvents();
|
||||||
} catch {} // This will break if mounted after jsplumb has been initiated from executions preview, so continue if it breaks
|
} catch {} // This will break if mounted after jsplumb has been initiated from executions preview, so continue if it breaks
|
||||||
await this.initView();
|
await this.initView();
|
||||||
if (window.top) {
|
if (window.parent) {
|
||||||
window.top.postMessage(
|
window.parent.postMessage(
|
||||||
JSON.stringify({ command: 'n8nReady', version: this.rootStore.versionCli }),
|
JSON.stringify({ command: 'n8nReady', version: this.rootStore.versionCli }),
|
||||||
'*',
|
'*',
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user