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();
|
||||
} 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 }),
|
||||
'*',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user