app/components/solidus_admin/orders/index/component.rb in solidus_admin-0.3.1 vs app/components/solidus_admin/orders/index/component.rb in solidus_admin-0.3.2
- old
+ new
@@ -122,10 +122,10 @@
'complete' => :green,
'returned' => :red,
'canceled' => :blue,
'cart' => :graphite_light,
}[order.state] || :yellow
- component('ui/badge').new(name: order.state.humanize, color: color)
+ component('ui/badge').new(name: order.state.humanize, color:)
end
}
end
def date_column