Autofocus on last calendar event on load

This commit is contained in:
D. Berge
2020-08-11 20:43:13 +02:00
parent 91f6fc3763
commit b2b6a88c19

View File

@@ -169,8 +169,11 @@ export default {
},
mounted () {
this.getEvents();
async mounted () {
await this.getEvents();
if (this.events.length) {
this.setLast();
}
}
}