app/components/coco/messaging/alert/alert.html.erb in coveragebook_components-0.19.5 vs app/components/coco/messaging/alert/alert.html.erb in coveragebook_components-0.19.6

- old
+ new

@@ -7,12 +7,14 @@ "with-title": title? && title.present?, "with-action": action? || secondary_action?, "vivid": vivid? }) do %> <div class="alert-container"> - <div class="alert-stamp" data-role="icon"> - <%= stamp %> - </div> + <% if stamp.present? %> + <div class="alert-stamp" data-role="icon"> + <%= stamp %> + </div> + <% end %> <div class="alert-body"> <div class="alert-content" data-role="content"> <% if title? && title.present? %> <h4 class="alert-title"><%= title %></h4> \ No newline at end of file