Skip to content

Commit

Permalink
Merge pull request #83 from friendlycart/new-solidus-menu-style
Browse files Browse the repository at this point in the history
Use Remix icons if Solidus' admin_updated_navbar is enabled
  • Loading branch information
mamhoff authored Nov 10, 2023
2 parents 2532f26 + 1da67cc commit 1e831d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
if item.respond_to?(:children)
Spree::BackendConfiguration::MenuItem.new(
label: :promotions,
icon: "bullhorn",
icon: config.admin_updated_navbar ? "ri-megaphone-line" : "bullhorn",
condition: -> { can?(:admin, SolidusFriendlyPromotions::Promotion) },
url: -> { SolidusFriendlyPromotions::Engine.routes.url_helpers.admin_promotions_path },
data_hook: :admin_promotion_sub_tabs,
Expand Down

0 comments on commit 1e831d7

Please sign in to comment.