Fix setting the new reminder component to null after adding a new date
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
d29f84b232
commit
1d3a407318
|
@ -162,6 +162,10 @@ export default {
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
value(newVal) {
|
value(newVal) {
|
||||||
|
if(newVal === null) {
|
||||||
|
this.date = null
|
||||||
|
return
|
||||||
|
}
|
||||||
this.date = new Date(newVal)
|
this.date = new Date(newVal)
|
||||||
},
|
},
|
||||||
flatPickrDate(newVal) {
|
flatPickrDate(newVal) {
|
||||||
|
|
Reference in New Issue