Skip to content

Commit

Permalink
fix quantità to quantity for language consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
alemazzo committed Jan 10, 2022
1 parent bfebf96 commit 3288a3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/cart/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function createArticle(item) {
if (item.tag.isInSale()) {
price.innerHTML = `<del>${item.tag.getPriceWithoutSale()}€</del> ${item.tag.getPrice()}€`;
}
quantity.innerText = `Quantità: ${item.getQuantity()}`;
quantity.innerText = `Quantity: ${item.getQuantity()}`;

footer.appendChild(price);
footer.appendChild(quantity);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/order-view/order-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function createArticle(item) {
if (item.tag.isInSale()) {
price.innerHTML = `<del>${item.tag.getPriceWithoutSale()}€</del> ${item.tag.getPrice()}€`;
}
quantity.innerText = `Quantità: ${item.getQuantity()}`;
quantity.innerText = `Quantity: ${item.getQuantity()}`;

footer.appendChild(price);
footer.appendChild(quantity);
Expand Down

0 comments on commit 3288a3f

Please sign in to comment.