mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Reload the meal plan after consuming a recipe
This commit is contained in:
@@ -694,6 +694,7 @@ $(document).on('click', '.recipe-consume-button', function(e)
|
|||||||
{
|
{
|
||||||
Grocy.FrontendHelpers.EndUiBusy();
|
Grocy.FrontendHelpers.EndUiBusy();
|
||||||
toastr.success(__t('Removed all ingredients of recipe "%s" from stock', objectName));
|
toastr.success(__t('Removed all ingredients of recipe "%s" from stock', objectName));
|
||||||
|
window.location.reload();
|
||||||
},
|
},
|
||||||
function(xhr)
|
function(xhr)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user