mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-27 07:53:23 +03:00
Fixed showevents in meshctrl.js
This commit is contained in:
parent
d1c045d2e8
commit
0ceec7711b
@ -1063,7 +1063,7 @@ function serverConnect() {
|
||||
var data = null;
|
||||
try { data = JSON.parse(rawdata); } catch (ex) { }
|
||||
if (data == null) { console.log('Unable to parse data: ' + rawdata); }
|
||||
if (settings.cmd == 'showevents') { console.log(data); return; }
|
||||
if (settings.cmd == 'showevents') { console.log(JSON.stringify(data, null, 2)); return; }
|
||||
switch (data.action) {
|
||||
case 'serverinfo': { // SERVERINFO
|
||||
console.log(data);
|
||||
|
Loading…
Reference in New Issue
Block a user