A platform for community discussion. Free, open, simple.
FIX: admin was not able to unblock screened IP address
Arpit Jalan614b1c8e68f1
diff --git a/app/assets/javascripts/admin/templates/logs/screened-ip-addresses.hbs b/app/assets/javascripts/admin/templates/logs/screened-ip-addresses.hbsindex 00e67a9aa5c..e8ee4d896dd 100644--- a/app/assets/javascripts/admin/templates/logs/screened-ip-addresses.hbs+++ b/app/assets/javascripts/admin/templates/logs/screened-ip-addresses.hbs@@ -58,7 +58,7 @@{{#unless item.editing}}{{d-button action="destroy" actionParam=item icon="trash-o" class="btn-danger"}}{{d-button action="edit" actionParam=item icon="pencil"}}- {{#if isBlocked}}+ {{#if item.isBlocked}}{{d-button action="allow" actionParam=item icon="check" label="admin.logs.screened_ips.actions.do_nothing"}}{{else}}{{d-button action="block" actionParam=item icon="ban" label="admin.logs.screened_ips.actions.block"}}