diff --git a/admin/app/components/solidus_admin/users/store_credits/index/component.rb b/admin/app/components/solidus_admin/users/store_credits/index/component.rb index e039fd8cc6d..ebfb0d663e5 100644 --- a/admin/app/components/solidus_admin/users/store_credits/index/component.rb +++ b/admin/app/components/solidus_admin/users/store_credits/index/component.rb @@ -98,7 +98,7 @@ def columns header: :invalidated, col: { class: "w-[15%]" }, data: ->(store_credit) do - store_credit.invalidated? ? component('ui/badge').yes : component('ui/badge').no + store_credit.invalidated? ? component('ui/badge').new(name: :yes, color: :red, size: :m) : component('ui/badge').new(name: :no, color: :green, size: :m) end }, ]