Quellcode durchsuchen

Caremonth - render calendar even if 0 plottable measurements

Vijayakrishnan vor 3 Jahren
Ursprung
Commit
f2ed3374a0
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  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}}');