2
0
Эх сурвалжийг харах

Fix "can't set timers inside simulations error" when moving cards with start/due dates.

shoetten 9 жил өмнө
parent
commit
33b74a465e

+ 1 - 1
client/components/cards/cardDate.js

@@ -136,7 +136,7 @@ const CardDate = BlazeComponent.extendComponent({
     const self = this;
     self.date = ReactiveVar();
     self.now = ReactiveVar(moment());
-    Meteor.setInterval(() => {
+    window.setInterval(() => {
       self.now.set(moment());
     }, 60000);
   },