mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-23 02:14:26 +00:00
[Web] Fix dashboard host stats
This commit is contained in:
parent
455ef084b4
commit
df4d3bb6e0
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue