This commit is contained in:
Ylian Saint-Hilaire 2019-11-26 10:38:13 -08:00
commit ccf2d46b52

View File

@ -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>';
}
}