فهرست منبع

Typical day - dont show empty table

Vijayakrishnan 3 سال پیش
والد
کامیت
933154d331
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      resources/views/app/patient/segment-templates/typical_day_lifestyle/summary.blade.php

+ 2 - 2
resources/views/app/patient/segment-templates/typical_day_lifestyle/summary.blade.php

@@ -82,7 +82,7 @@ $hasDailyAggregates = (
         </table>
     @endif
 
-    @if($hasTypicalDayData)
+    @if($hasDailyAggregates)
         <div class="mb-1 font-weight-bold">Daily Aggregates</div>
         <table class="table table-sm table-bordered mb-2">
             <thead class="bg-light">
@@ -125,7 +125,7 @@ $hasDailyAggregates = (
         </table>
     @endif
 
-    @if(!$hasTypicalDayData && !$hasTypicalDayData)
+    @if(!$hasTypicalDayData && !$hasDailyAggregates)
         -
     @endif
 </div>