Kaynağa Gözat

Patch of the bug fix

TC pushbot 5 4 yıl önce
ebeveyn
işleme
5a70c3523e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      web/SystemAO/disk/smart/smart.html

+ 1 - 1
web/SystemAO/disk/smart/smart.html

@@ -74,7 +74,7 @@
           $.getJSON("/system/disk/smart/getSMART", function(data) {
                 smartDATA = data;
                 $("#mainmenu").html("");
-                if (data == null || $(data).length == 0) {
+                if (data.devices == null || $(data).length == 0) {
                     $("#smart-holder").append(append("-1","No disk find!","",-1));
                     $("#healthy").text("No disks detected.");
                     $("#totaldisk").text("0");