mirror of
https://github.com/grocy/grocy.git
synced 2026-04-07 05:16:15 +02:00
fix amount in recipes ingridients
This commit is contained in:
parent
98f214e9f1
commit
fcb3dcfbb2
|
|
@ -6,6 +6,7 @@ $('#save-recipe-pos-button').on('click', function (e)
|
|||
|
||||
var jsonData = $('#recipe-pos-form').serializeJSON({ checkboxUncheckedValue: "0" });
|
||||
jsonData.recipe_id = Grocy.EditObjectParentId;
|
||||
jsonData.amount = jsonData.amount.replace(/\s/g, '');
|
||||
delete jsonData.display_amount;
|
||||
|
||||
Grocy.FrontendHelpers.BeginUiBusy("recipe-pos-form");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user