chore: add vue3 to eslint, fix errors, and modify lint script (#6910)

This commit is contained in:
Jesse Mazzella
2023-08-14 10:03:19 -07:00
committed by GitHub
parent 50694f600c
commit f3b819a786
3 changed files with 7 additions and 5 deletions

View File

@ -58,7 +58,7 @@ export default {
}
}
},
data: function () {
data() {
const activeClock = this.getActiveClock();
return {
@ -66,11 +66,11 @@ export default {
clocks: []
};
},
mounted: function () {
mounted() {
this.loadClocks(this.configuration.menuOptions);
this.openmct.time.on(TIME_CONTEXT_EVENTS.clockChanged, this.setViewFromClock);
},
destroyed: function () {
unmounted() {
this.openmct.time.off(TIME_CONTEXT_EVENTS.clockChanged, this.setViewFromClock);
},
methods: {