Fix setting the new reminder component to null after adding a new date
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2020-11-28 14:22:18 +01:00
parent d29f84b232
commit 1d3a407318
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 0 deletions

View File

@ -162,6 +162,10 @@ export default {
},
watch: {
value(newVal) {
if(newVal === null) {
this.date = null
return
}
this.date = new Date(newVal)
},
flatPickrDate(newVal) {