mirror of
https://github.com/grocy/grocy.git
synced 2026-04-03 19:36:16 +02:00
Reload the meal plan after consuming a recipe
This commit is contained in:
parent
d4fa1a64c2
commit
3c4264c3a0
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user