mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
fix(editor): Fix issue preventing execution preview loading when in an iframe (#5817)
This commit is contained in:
parent
6f720919c9
commit
d86e693019
|
@ -3885,8 +3885,8 @@ export default mixins(
|
|||
this.bindCanvasEvents();
|
||||
} catch {} // This will break if mounted after jsplumb has been initiated from executions preview, so continue if it breaks
|
||||
await this.initView();
|
||||
if (window.top) {
|
||||
window.top.postMessage(
|
||||
if (window.parent) {
|
||||
window.parent.postMessage(
|
||||
JSON.stringify({ command: 'n8nReady', version: this.rootStore.versionCli }),
|
||||
'*',
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue