mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-23 12:43:14 -05:00
Fix unavailable plugin actions
This commit is contained in:
parent
8c1f68e3d6
commit
441d2f2dda
@ -9563,7 +9563,7 @@
|
||||
p.actions = '<select onchange="return pluginAction(this,\'' + p._id + '\');"><option value=""> --</option>';
|
||||
var entries = Object.entries(statusAvailability[p.status]);
|
||||
for (var k in entries) {
|
||||
if (cant_action.indexOf(k) === -1) {
|
||||
if (cant_action.indexOf(entries[k][0]) === -1) {
|
||||
p.actions += '<option value="' + entries[k][0] + '">' + entries[k][1] + '</option>';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user