lib/karafka/web/ui/pro/views/health/_partition.erb in karafka-web-0.7.10 vs lib/karafka/web/ui/pro/views/health/_partition.erb in karafka-web-0.8.0.rc1
- old
+ new
@@ -20,12 +20,10 @@
<span class="badge <%= kafka_state_bg(details.fetch_state) %> mt-1 mb-1">
<%= details.fetch_state %>
</span>
</td>
<td>
- <span class="badge <%= kafka_state_bg(details.poll_state) %> mt-1 mb-1">
- <%= details.poll_state %>
- </span>
+ <%== poll_state_with_change_time_label(details.poll_state, details.poll_state_ch) %>
</td>
<td>
<span class="badge bg-success <%= lso_risk_state_bg(details) %> bg-opacity-100">
<%= details.lso_risk_state %>
</span>