mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Create network usage dashboard widget (#7531)
* Add new dashboard widget system_network_status * Add new dashboard widget system_network_status * Initial working commit * Fix max_points used twice * Update system dashboard service to send network traffic * Remove console logging used for debugging * Remove interface check * Return instead of exit on a dashboard widget * Use default value instead of null coalescing operator * Disable the details state (to be added later) * Set to Line type only * Update config.php --------- Co-authored-by: FusionPBX <markjcrane@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ class ws_client {
|
||||
let message;
|
||||
let switch_event;
|
||||
try {
|
||||
console.log(ev.data);
|
||||
//console.log(ev.data);
|
||||
message = JSON.parse(ev.data);
|
||||
// check for authentication request
|
||||
if (message.status_code === 407) {
|
||||
|
||||
Reference in New Issue
Block a user