Преглед на файлове

Caremonth - render calendar even if 0 plottable measurements

Vijayakrishnan преди 3 години
родител
ревизия
f2ed3374a0
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      resources/views/app/patient/care-month/dashboard.blade.php

+ 0 - 2
resources/views/app/patient/care-month/dashboard.blade.php

@@ -2586,7 +2586,6 @@
                 });
 
                 // init calendar view
-                @if(count($plottableMeasurements))
                 $('#caremonth-measurements-calendar-{{$calendarID}}').closest('.d-none').removeClass('d-none');
                 let measurementsCalendar = new FullCalendar.Calendar($('#caremonth-measurements-calendar-{{$calendarID}}')[0], {
                     allDaySlot: false,
@@ -2620,7 +2619,6 @@
 
                 window.setTimeout(() => { measurementsCalendar.render();}, 10);
 
-                @endif
             }
 
             addMCInitializer('care-month-dashboard-{{$patient->uid}}', init, '#care-month-container-{{$patient->uid}}');