Fix edit task repeat after being undefined (again)

This commit is contained in:
kolaente 2020-06-25 21:11:30 +02:00
parent 81cc2c17e6
commit efc047ced7
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -59,7 +59,9 @@
watch: {
value(newVal) {
this.task = newVal
this.repeatAfter = newVal.repeatAfter
if (typeof newVal.repeatAfter !== 'undefined') {
this.repeatAfter = newVal.repeatAfter
}
},
},
mounted() {