mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
fix getDeviceDetails json stringify problem #7103
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
@@ -4483,7 +4483,7 @@
|
||||
break;
|
||||
}
|
||||
case 'getDeviceDetails': {
|
||||
saveAs(new Blob([message.data], { type: 'application/octet-stream' }), "devicelist" + '.' + message.type);
|
||||
saveAs(new Blob([typeof message.data === 'string' ? message.data : JSON.stringify(message.data)], {type: 'application/octet-stream'}), "devicelist" + '.' + message.type);
|
||||
break;
|
||||
}
|
||||
case 'createLoginToken': { // A new login token was created
|
||||
|
||||
Reference in New Issue
Block a user