@@ -67,7 +67,7 @@ |
||
| 67 | 67 |
</div> |
| 68 | 68 |
<div class="modal-footer"> |
| 69 | 69 |
<%= form_for(agent, as: :agent, url: agent_path(agent, return: returnTo), method: 'PUT') do |f| %> |
| 70 |
- <% if agent.can_receive_events? || true %> |
|
| 70 |
+ <% if agent.can_receive_events? %> |
|
| 71 | 71 |
<div class="form-group"> |
| 72 | 72 |
<%= check_box_tag check_box_id = "agent#{agent.id}_drop_pending_events", 'true', false, name: :drop_pending_events %>
|
| 73 | 73 |
<%= label_tag check_box_id, 'Drop pending events' %> |