Fix logger init in popup
This commit is contained in:
parent
4a562443b1
commit
61972a7b2d
@ -123,7 +123,7 @@ export default defineComponent({
|
|||||||
this.role = segment.replace('#', '');
|
this.role = segment.replace('#', '');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.logAggregator = new LogAggregator('');
|
this.logAggregator = new LogAggregator('App.vue');
|
||||||
this.logger = new ComponentLogger(this.logAggregator, 'App.vue');
|
this.logger = new ComponentLogger(this.logAggregator, 'App.vue');
|
||||||
|
|
||||||
this.settings = new Settings({
|
this.settings = new Settings({
|
||||||
@ -198,7 +198,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
this.comms = new CommsClient('popup-port', this.logger, this.eventBus);
|
this.comms = new CommsClient('popup-port', this.logAggregator, this.eventBus);
|
||||||
this.eventBus.setComms(this.comms);
|
this.eventBus.setComms(this.comms);
|
||||||
this.eventBus.setupPopupTunnelWorkaround({
|
this.eventBus.setupPopupTunnelWorkaround({
|
||||||
origin: CommsOrigin.Popup,
|
origin: CommsOrigin.Popup,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user