fix logger in popup
This commit is contained in:
parent
c84900def0
commit
3e565ddbfc
@ -145,10 +145,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created () {
|
async created () {
|
||||||
this.logger = new Logger({
|
this.logger = new Logger();
|
||||||
|
await this.logger.init({
|
||||||
allowLogging: true,
|
allowLogging: true,
|
||||||
});
|
});
|
||||||
await this.logger.init();
|
|
||||||
|
|
||||||
this.settings = new Settings({updateCallback: this.updateSettings, logger: this.logger});
|
this.settings = new Settings({updateCallback: this.updateSettings, logger: this.logger});
|
||||||
await this.settings.init();
|
await this.settings.init();
|
||||||
|
@ -205,10 +205,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
this.logger = new Logger({
|
this.logger = new Logger();
|
||||||
|
await this.logger.init({
|
||||||
allowLogging: true,
|
allowLogging: true,
|
||||||
});
|
});
|
||||||
await this.logger.init();
|
|
||||||
|
|
||||||
this.settings = new Settings({updateCallback: () => this.updateConfig(), logger: this.logger});
|
this.settings = new Settings({updateCallback: () => this.updateConfig(), logger: this.logger});
|
||||||
await this.settings.init();
|
await this.settings.init();
|
||||||
|
Loading…
Reference in New Issue
Block a user