Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed Feb 14, 2025
1 parent 5d2406c commit 7722766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/dummy/app/avo/resources/product.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Avo::Resources::Product < Avo::BaseResource
self.discreet_information = [
{
tooltip: -> { sanitize("Product is <strong>#{record.status}</strong>", tags: %w[strong]) },
icon: -> { "heroicons/outline/#{record.status == :new ? "arrow-trending-up" : "arrow-trending-down"}" }
icon: -> { "heroicons/outline/#{(record.status == :new) ? "arrow-trending-up" : "arrow-trending-down"}" }
},
:timestamps
]
Expand Down

0 comments on commit 7722766

Please sign in to comment.