Show hub address for pickup only when feature enabled

This commit is contained in:
Maikel Linke
2025-06-26 14:19:39 +10:00
parent fcd6897240
commit 667b49b7f1
2 changed files with 4 additions and 1 deletions

View File

@@ -67,6 +67,9 @@ module OpenFoodNetwork
"inventory" => <<~DESC,
Enable the inventory.
DESC
"hub_address" => <<~DESC,
Show the hub's address as shipping address on pickup orders.
DESC
}.merge(conditional_features).freeze;
# Features you would like to be enabled to start with.