diff --git a/ayanova/src/components/date-time-control.vue b/ayanova/src/components/date-time-control.vue index 3f260549..99675b5a 100644 --- a/ayanova/src/components/date-time-control.vue +++ b/ayanova/src/components/date-time-control.vue @@ -85,7 +85,7 @@ export default { //this tortuous fuckery is required so that the input and change events only fire on a real change, not initial page load //also it shouldn't signal a change if the values are the same and nothing was effectively changed var hasChanged = false; - if (this.oldDate != null && this.date != this.oldDate) { + if (this.date != this.oldDate) { hasChanged = true; } this.oldDate = this.date;