Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: post message to window.opener (#9119)

Liu Jid9ee6800a61f
diff --git a/frontend/src/plugins/window-events.ts b/frontend/src/plugins/window-events.ts
index 64fee8d2d5..455fa45bc3 100644
--- a/frontend/src/plugins/window-events.ts
+++ b/frontend/src/plugins/window-events.ts
@@ -13,4 +13,8 @@ export const emitWindowEvent = (
data.params = params;
}
window.parent.postMessage(data, "*");
+
+ if (window.opener && typeof window.opener.postMessage === "function") {
+ window.opener.postMessage(data, "*");
+ }
};