mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Added an option to hide the calendar on the shopping list (closes #531)
This commit is contained in:
9
public/viewjs/shoppinglistsettings.js
Normal file
9
public/viewjs/shoppinglistsettings.js
Normal file
@@ -0,0 +1,9 @@
|
||||
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);
|
||||
}
|
||||
|
||||
if (BoolVal(Grocy.UserSettings.shopping_list_show_calendar))
|
||||
{
|
||||
$("#shopping-list-show-calendar").prop("checked", true);
|
||||
}
|
Reference in New Issue
Block a user