Skip to content

Commit

Permalink
Update backend/app/helpers/spree/admin/stock_locations_helper.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Norman <jared@super.gd>
  • Loading branch information
waiting-for-dev and jarednorman authored Jun 23, 2022
1 parent 67717d3 commit 02b6930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/helpers/spree/admin/stock_locations_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Spree
module Admin
module StockLocationsHelper
def admin_stock_location_display_name(stock_location)
[stock_location.admin_name, stock_location.name].compact.join(' / ')
[stock_location.admin_name, stock_location.name].reject(&:blank?).join(' / ')
end
end
end
Expand Down

0 comments on commit 02b6930

Please sign in to comment.