Skip to content

Commit

Permalink
Add missing safe navigation to template
Browse files Browse the repository at this point in the history
  • Loading branch information
luciajanikova committed Oct 25, 2024
1 parent c60bd4e commit 4f7e7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/message_state_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% if @message.form_object&.is_signed? || @message.form_object.present? || @message.authorized? %>
<div class="w-fit flex flex-row gap-1 <%= @classes %>">
<% if @message.form_object.tags.signed_by.any? %>
<% if @message.form_object&.tags&.signed_by&.any? %>
<% @message.form_object.tags.signed_by.each do |tag| %>
<%= render Common::BadgeComponent.new(tag.name, "green", "fingerprint") %>
<% end %>
Expand Down

0 comments on commit 4f7e7d4

Please sign in to comment.