소스 검색

auto update script executed

Toby Chui 2 년 전
부모
커밋
9dd9e5b8c8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      web/components/status.html

+ 2 - 2
web/components/status.html

@@ -207,7 +207,7 @@
                 </tr>`);
             }
 
-            if (data.length == 0){
+            if (Object.keys(data).length == 0){
                 $("#countryCodetable").append(`<tr>
                     <td colspan="2">No Data</td>
                 </tr>`);
@@ -244,7 +244,7 @@
                 </tr>`);
             }
 
-            if (data.length == 0){
+            if (Object.keys(data).length == 0){
                 $("#forwardTypeTable").append(`<tr>
                     <td colspan="2">No Data</td>
                 </tr>`);