Prechádzať zdrojové kódy

fix: comparison between periodic events

Casper Dai 3 rokov pred
rodič
commit
c14635c4ba
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  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