bugfix
This commit is contained in:
parent
4afd46579f
commit
7d5a3626c6
@ -59,7 +59,7 @@ function AddMetadata() {
|
||||
};
|
||||
|
||||
const get_mata_data_obj = () => {
|
||||
const products = productsFromPhoto;
|
||||
const products = productsFromPhoto ? productsFromPhoto : [];
|
||||
products.forEach(product => {
|
||||
product.price = parseFloat(product.price.replace(",", "."));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user