Skip to content

Commit 7185dbb

Browse files
committed
temp: add console log to messenger.send
1 parent c2d47ed commit 7185dbb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/client/modules/app/services/route.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ export class RouteService extends Service<RouteServiceConfig> {
7171
this.currentRouteHandler = null;
7272
this.receivers = [];
7373
this.eventListeners = [];
74+
this.runtime.receive('app', 'route-component', (routed) => {
75+
window.opener.postMessage(routed,'ci-europa.kbase.us')
76+
});
7477
}
7578

7679
doRoute() {

src/client/modules/lib/messenger.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ export class Messenger {
131131
const channelName = publishDef.channel;
132132
const message = publishDef.message;
133133

134+
const console_workaround = console;
135+
console_workaround.log("Messenger.send",publishDef)
136+
134137
const channel = this.channels.get(channelName);
135138
if (!channel) {
136139
return;

0 commit comments

Comments
 (0)