Skip to content

Commit

Permalink
Remove Display Order from side menu
Browse files Browse the repository at this point in the history
  • Loading branch information
chaimann committed Feb 12, 2025
1 parent 95a9ea8 commit 55dbc51
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion admin/config/locales/menu_item.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ en:
option_types: Option Types
property_types: Properties
taxonomies: Taxonomies
taxons: Display Order
promotions: Promotions
promotion_categories: Promotion Categories
stock: Stock
Expand Down
5 changes: 0 additions & 5 deletions admin/lib/solidus_admin/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,6 @@ def menu_items
key: "taxonomies",
route: -> { spree.admin_taxonomies_path },
position: 30
},
{
key: "taxons",
route: -> { spree.admin_taxons_path },
position: 40
}
]
},
Expand Down
6 changes: 0 additions & 6 deletions backend/lib/spree/backend_configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,6 @@ def menu_items
label: :taxonomies,
condition: -> { can? :admin, Spree::Taxonomy },
),
MenuItem.new(
url: :admin_taxons_path,
condition: -> { can? :admin, Spree::Taxon },
label: :display_order,
match_path: '/taxons',
),
],
),
MenuItem.new(
Expand Down

0 comments on commit 55dbc51

Please sign in to comment.