소스 검색

Ticket - canvasData check

Vijayakrishnan 4 년 전
부모
커밋
28ef7ac0b2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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() {