web/views/in_flight.erb in atomic-sidekiq-1.1.2 vs web/views/in_flight.erb in atomic-sidekiq-1.1.3
- old
+ new
@@ -26,10 +26,10 @@
<th><%= t("Job") %></th>
<th><%= t("Args") %></th>
<th><%= t("Queue") %></th>
<th><%= t("Expires at") %></th>
</thead>
- <% @jobs.each do |job| %>
+ <% @jobs&.each do |job| %>
<tr>
<td><%= h job["class"] %> </td>
<td><%= h job["args"] %> </td>
<td>
<a href="<%= root_path %>queues/<%= CGI.escape(job["queue"]) %>"><%= h job["queue"] %></a>