mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00: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…
x
Reference in New Issue
Block a user