Browse Source

[Web] Fix dashboard host stats

FreddleSpl0it 4 days ago
parent
commit
df4d3bb6e0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      data/web/js/site/dashboard.js

+ 1 - 0
data/web/js/site/dashboard.js

@@ -1345,6 +1345,7 @@ function update_stats(timeout=5){
 
   window.fetch("/api/v1/get/status/host", {method:'GET',cache:'no-cache'}).then(function(response) {
     return response.json();
+  }).then(function(data) {
     if (data){
       // display table data
       $("#host_date").text(data.system_time);