Added a feature flag to also be able to hide all stock related UI elements and routes (closes #228)

This commit is contained in:
Bernd Bestel
2019-05-03 20:03:04 +02:00
parent bd296f8fe1
commit 4c2cf4944d
5 changed files with 61 additions and 27 deletions

View File

@@ -91,6 +91,7 @@ DefaultUserSetting('shopping_list_to_stock_workflow_auto_submit_when_prefilled',
# came and still come by, because they are useful - here you can disable the parts
# which you don't need to have a less cluttered UI
# (set the setting to "false" to disable the corresponding part, which should be self explanatory)
Setting('FEATURE_FLAG_STOCK', true);
Setting('FEATURE_FLAG_SHOPPINGLIST', true);
Setting('FEATURE_FLAG_RECIPES', true);
Setting('FEATURE_FLAG_CHORES', true);