Prechádzať zdrojové kódy

fixed dashboard date filter

= 4 rokov pred
rodič
commit
df0cd02753
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      resources/views/app/dashboard.blade.php

+ 1 - 1
resources/views/app/dashboard.blade.php

@@ -254,7 +254,7 @@
                     updateNumEventsForDate: function() {
                         this.numEventsForDate = 0;
                         for (let i = 0; i < this.events.length; i++) {
-                            if(this.events[i].dateYMD === this.selectedDate &&
+                            if(this.events[i].raw_date === this.selectedDate &&
                                 (this.filterStatus === '' || this.filterStatus === this.events[i].status)) {
                                 this.numEventsForDate++;
                             }