app/components/solidus_admin/orders/show/adjustments/index/source/component.rb in solidus_admin-0.3.1 vs app/components/solidus_admin/orders/show/adjustments/index/source/component.rb in solidus_admin-0.3.2
- old
+ new
@@ -8,10 +8,10 @@
@source = adjustment.source
@model_name = source&.model_name&.human
end
def call
- render component("ui/thumbnail_with_caption").new(icon: icon, caption: caption, detail: detail)
+ render component("ui/thumbnail_with_caption").new(icon:, caption:, detail:)
end
def caption
adjustment.label
end