<% if component_settings.try(:display_progress_enabled?) && result.progress.present? %>
<%= display_percentage result.progress %>
<% end %>