Browse Source

auto update script executed

Toby Chui 2 năm trước cách đây
mục cha
commit
9dd9e5b8c8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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>`);