Browse Source

Ticket - canvasData check

Vijayakrishnan 4 năm trước cách đây
mục cha
commit
28ef7ac0b2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      resources/views/app/patient/tickets.blade.php

+ 1 - 1
resources/views/app/patient/tickets.blade.php

@@ -184,7 +184,7 @@
                             }
                         ?>
 
-                        patientRx: <?= json_encode($contentData['items']) ?>,
+                        patientRx: <?= $contentData ? json_encode($contentData['items']) : [] ?>,
                     },
                     computed: {
                         numAll: function() {