app/components/coco/messaging/alert/alert.rb in coveragebook_components-0.17.5 vs app/components/coco/messaging/alert/alert.rb in coveragebook_components-0.17.6

- old
+ new

@@ -33,10 +33,10 @@ before_render do unless tag_attr?(:id) set_tag_attr(:id, "alert-#{rand(1000)}") end - with_title { @title } unless title? + with_title { @title } unless title? || title.nil? end def initialize(title: nil, **kwargs) @title = title end