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