mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
feat(public/views/recipessettings): read and set current user setting for recipes_ignore_stock_on_add_to_cart_checkbox
ref https://github.com/grocy/grocy/issues/686
This commit is contained in:
parent
e5cf512d20
commit
be8740bbb3
|
|
@ -12,3 +12,8 @@ if (BoolVal(Grocy.UserSettings.recipes_show_ingredient_checkbox))
|
|||
{
|
||||
$("#recipes_show_ingredient_checkbox").prop("checked", true);
|
||||
}
|
||||
|
||||
if (BoolVal(Grocy.UserSettings.recipes_ignore_stock_on_add_to_cart_checkbox))
|
||||
{
|
||||
$("#recipes_ignore_stock_on_add_to_cart_checkbox").prop("checked", true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user