fix data loading bug

This commit is contained in:
Christoph Haas 2020-10-06 23:02:00 +02:00
parent 76434020af
commit c1203ff8c9
1 changed files with 8 additions and 0 deletions

View File

@ -125,6 +125,14 @@
}
},

watch: {
enabled(newValue, oldValue) {
if (this.enabled) {
this.readStatus()
}
},
},

methods: {
...mapActions('status', {
readStatus: 'read',