mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Don't need to pass the order through the nested view
This commit is contained in:
@@ -13,6 +13,6 @@
|
||||
%div{id: "#{tab[:name]}_panel", "data-tabs-and-panels-target": "panel #{'default' if tab[:default]}" }
|
||||
.page-view
|
||||
- if tab[:custom]
|
||||
= render "shopping_shared/tabs/custom", order: @order
|
||||
= render "shopping_shared/tabs/custom"
|
||||
- else
|
||||
= render "shopping_shared/tabs/#{tab[:name]}"
|
||||
|
||||
Reference in New Issue
Block a user