Fixed shopping_list_to_stock_workflow_auto_submit_when_prefilled user settings control initialization (fixes #1875)

This commit is contained in:
Bernd Bestel 2022-04-29 11:46:50 +02:00
parent 8ab511361a
commit 9c1fd176c0
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -1,6 +1,6 @@
if (BoolVal(Grocy.UserSettings.shopping_list_to_stock_workflow_auto_submit_when_prefilled)) if (BoolVal(Grocy.UserSettings.shopping_list_to_stock_workflow_auto_submit_when_prefilled))
{ {
$("#shopping-list-to-stock-workflow-auto-submit-when-prefilled").prop("checked", true); $("#shopping_list_to_stock_workflow_auto_submit_when_prefilled").prop("checked", true);
} }
if (BoolVal(Grocy.UserSettings.shopping_list_show_calendar)) if (BoolVal(Grocy.UserSettings.shopping_list_show_calendar))