fix common device group delete from user group in modern ui #7500
Signed-off-by: si458 <simonsmith5521@gmail.com>
si458 committed
Dec 19, 2025 at 12:55 UTC
0d433e5591137a790091870ebca489fd20946b7e
1 file changed
+1
-1
views/default3.handlebars
+1
-1
@@ -18088,7 +18088,7 @@
18088
var mesh = meshes[decodeURIComponent(meshid)];
18089
if (mesh == null) return;
18090
setModalContent('xxAddAgent', "Remove Device Group Permissions", format("Confirm removal of access rights for device group \"{0}\"?", mesh.name));
18091
- showModal('xxAddAgentModal', 'idx_dlgOkButton', () => p51removeMeshFromUserGroupEx(3, mesh._id));
18091
+ showModal('xxAddAgentModal', 'idx_dlgOkButton', () => { meshserver.send({ action: 'removemeshuser', meshid: decodeURIComponent(meshid), userid: currentUserGroup._id }); });;
18092
}
18093
function p51editgroup(focus, nameReadOnly) {
18094
if (xxdialogMode) return;