Reload the meal plan after consuming a recipe

This commit is contained in:
Bernd Bestel 2020-02-11 19:24:34 +01:00
parent d4fa1a64c2
commit 3c4264c3a0
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -694,6 +694,7 @@ $(document).on('click', '.recipe-consume-button', function(e)
{
Grocy.FrontendHelpers.EndUiBusy();
toastr.success(__t('Removed all ingredients of recipe "%s" from stock', objectName));
window.location.reload();
},
function(xhr)
{