From 1f409ccae029301aa61c440c3128001c7a6576b7 Mon Sep 17 00:00:00 2001 From: Brent Wheeldon Date: Thu, 2 Apr 2026 14:17:14 -0400 Subject: [PATCH] Remove deprecated partial The menu item still renders as expected in the DOM, just without the `DEPRECATION WARNING: Using the "spree/admin/shared/_promotion_sub_menu" partial is deprecated, please use MenuItem#children instead.` deprecation warning in the logs. --- legacy_promotions/lib/solidus_legacy_promotions/engine.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/legacy_promotions/lib/solidus_legacy_promotions/engine.rb b/legacy_promotions/lib/solidus_legacy_promotions/engine.rb index cd714963854..37b86942c0e 100644 --- a/legacy_promotions/lib/solidus_legacy_promotions/engine.rb +++ b/legacy_promotions/lib/solidus_legacy_promotions/engine.rb @@ -13,7 +13,6 @@ class Engine < ::Rails::Engine promotions_menu_item = Spree::BackendConfiguration::MenuItem.new( label: :legacy_promotions, icon: Spree::Backend::Config.admin_updated_navbar ? "ri-megaphone-line" : "bullhorn", - partial: "spree/admin/shared/promotion_sub_menu", condition: -> { can?(:admin, Spree::Promotion) }, url: :admin_promotions_path, data_hook: :admin_promotion_sub_tabs,