Browse Source

fix: comparison between periodic events

Casper Dai 3 years ago
parent
commit
c14635c4ba
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/components/Schedule/mixins/event.js

+ 3 - 1
src/components/Schedule/mixins/event.js

@@ -157,7 +157,9 @@ export default {
       }
     },
     onSave () {
-      this.fix().then(this.save).then(() => { this.dirty = false })
+      this.fix()
+        .then(this.save)
+        .then(() => { this.dirty = false })
     },
     fix () {
       let maxDate = Date.now() + 60000