Refactor & Clean up
This commit is contained in:
@ -112,7 +112,7 @@ export default define({
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.connection = (this as any).os.stream.useSharedConnection('notesStats');
|
||||
this.connection = this.$root.stream.useSharedConnection('notesStats');
|
||||
|
||||
this.connection.on('stats', this.onStats);
|
||||
this.connection.on('statsLog', this.onStatsLog);
|
||||
|
Reference in New Issue
Block a user