mirror of
https://github.com/unraid/webgui.git
synced 2026-01-07 10:10:05 -06:00
Update DashStats.page
This commit is contained in:
@@ -2,7 +2,8 @@ Menu="Dashboard"
|
||||
Nchan="wg_poller,update_1,update_2,update_3,ups_status:stop,vm_dashusage"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2023, Lime Technology * Copyright 2012-2023, Bergware International.
|
||||
/* Copyright 2005-2023, Lime Technology
|
||||
* Copyright 2012-2023, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
@@ -1539,7 +1540,7 @@ vmdashusage.on('message', function(msg){
|
||||
var data = JSON.parse(msg);
|
||||
for (const [vm, vmdata] of Object.entries(data)) {
|
||||
for (const [displayitem, value] of Object.entries(vmdata)) {
|
||||
$('#vmmetrics-'+displayitem + '-' + vm ).html(value);
|
||||
$('#vmmetrics-'+displayitem + '-' + vm ).html(value);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user