Browse Source

Caremonth - render calendar even if 0 plottable measurements

Vijayakrishnan 3 năm trước cách đây
mục cha
commit
f2ed3374a0

+ 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}}');