mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Fixed potential problem mentioned in https://github.com/grocy/grocy/issues/882#issuecomment-753357049
This commit is contained in:
parent
43ef9b793b
commit
fe665ac766
|
|
@ -45,7 +45,7 @@ $('#save-purchase-button').on('click', function(e)
|
|||
jsonData.price = price;
|
||||
}
|
||||
|
||||
if (Grocy.UserSettings.show_purchased_date_on_purchase)
|
||||
if (BoolVal(Grocy.UserSettings.show_purchased_date_on_purchase))
|
||||
{
|
||||
jsonData.purchased_date = Grocy.Components.DateTimePicker2.GetValue();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user