app/components/avo/fields/common/progress_bar_component.html.erb in avo-3.11.7 vs app/components/avo/fields/common/progress_bar_component.html.erb in avo-3.11.8

- old
+ new

@@ -1,8 +1,8 @@ <div class="flex items-center"> - <% if display_value %> + <% if @display_value %> <div class="text-right text-sm font-semibold leading-none mr-2 min-w-[2rem]"> - <%= value %><%= value_suffix if value_suffix.present? %> + <%= @value %><%= @value_suffix if @value_suffix.present? %> </div> <% end %> - <%= tag :progress, min: 0, max: max, value: value, class: "block min-w-[6rem] #{"w-full" if show?} #{"w-auto" if index?}" %> + <%= tag :progress, min: 0, max: @max, value: @value, class: "block min-w-[6rem] #{"w-full" if show?} #{"w-auto" if index?}" %> </div>