app/components/solidus_admin/ui/modal/component.rb in solidus_admin-0.2.0 vs app/components/solidus_admin/ui/modal/component.rb in solidus_admin-0.3.0

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true class SolidusAdmin::UI::Modal::Component < SolidusAdmin::BaseComponent renders_one :actions - def initialize(title:, close_path: nil, open: true, **attributes) + def initialize(title:, close_path: nil, open: false, **attributes) @title = title @close_path = close_path @attributes = attributes @attributes[:open] = open end