app/components/solidus_admin/orders/show/component.rb in solidus_admin-0.2.0 vs app/components/solidus_admin/orders/show/component.rb in solidus_admin-0.3.0
- old
+ new
@@ -27,9 +27,17 @@
tag.br,
address.phone,
], " ")
end
+ def turbo_frames
+ %w[
+ edit_order_email_modal
+ edit_order_bill_address_modal
+ edit_order_ship_address_modal
+ ]
+ end
+
def customer_name(user)
(
user.default_user_bill_address ||
user.default_user_ship_address ||
user.user_addresses.where(default: true).first ||