Explorar el Código

Handle patient single when no measurements

Vijayakrishnan hace 5 años
padre
commit
e6c5d0cdb9
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      resources/views/app/patient/dashboard.blade.php

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

@@ -43,6 +43,7 @@
                     </tr>
                 </thead>
                 <tbody>
+                    @if($measurements)
                     @foreach ($measurements as $label => $data)
                     <tr>
                         <td>{{$label}}</td>
@@ -51,7 +52,7 @@
                         <td>{{$data->memo}}</td>
                     </tr>
                     @endforeach
-                    
+                    @endif
                 </tbody>
             </table>
         </div>