mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 04:42:54 -05:00
Fixed self device group permission change and agent group uninstall.
This commit is contained in:
@@ -2349,11 +2349,10 @@
|
||||
}
|
||||
|
||||
function groupActionFunction() {
|
||||
var addedOptions = '';
|
||||
var addedOptions = '', nodeids = getCheckedDevices();
|
||||
|
||||
// Check if any of the selected devices have a MQTT connection active
|
||||
if (features & 0x00400000) {
|
||||
var nodeids = getCheckedDevices();
|
||||
for (var i in nodeids) { if ((getNodeFromId(nodeids[i]).conn & 16) != 0) { addedOptions += '<option value=103>' + "Send MQTT Message" + '</option>'; break; } }
|
||||
}
|
||||
|
||||
|
||||
@@ -3331,11 +3331,10 @@
|
||||
}
|
||||
|
||||
function groupActionFunction() {
|
||||
var addedOptions = '';
|
||||
var addedOptions = '', nodeids = getCheckedDevices();
|
||||
|
||||
// Check if any of the selected devices have a MQTT connection active
|
||||
if (features & 0x00400000) {
|
||||
var nodeids = getCheckedDevices();
|
||||
for (var i in nodeids) { if ((getNodeFromId(nodeids[i]).conn & 16) != 0) { addedOptions += '<option value=103>' + "Send MQTT Message" + '</option>'; break; } }
|
||||
}
|
||||
|
||||
|
||||
@@ -2349,11 +2349,10 @@
|
||||
}
|
||||
|
||||
function groupActionFunction() {
|
||||
var addedOptions = '';
|
||||
var addedOptions = '', nodeids = getCheckedDevices();
|
||||
|
||||
// Check if any of the selected devices have a MQTT connection active
|
||||
if (features & 0x00400000) {
|
||||
var nodeids = getCheckedDevices();
|
||||
for (var i in nodeids) { if ((getNodeFromId(nodeids[i]).conn & 16) != 0) { addedOptions += '<option value=103>' + "Envoyer un Message MQTT" + '</option>'; break; } }
|
||||
}
|
||||
|
||||
|
||||
@@ -3329,11 +3329,10 @@
|
||||
}
|
||||
|
||||
function groupActionFunction() {
|
||||
var addedOptions = '';
|
||||
var addedOptions = '', nodeids = getCheckedDevices();
|
||||
|
||||
// Check if any of the selected devices have a MQTT connection active
|
||||
if (features & 0x00400000) {
|
||||
var nodeids = getCheckedDevices();
|
||||
for (var i in nodeids) { if ((getNodeFromId(nodeids[i]).conn & 16) != 0) { addedOptions += '<option value=103>' + "Envoyer un Message MQTT" + '</option>'; break; } }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user