Skip to content

Commit

Permalink
wording fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pkarw committed May 17, 2019
1 parent 91ca33c commit 8e85faa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
}
},
"cart": {
"thumbnail": {
"thumbnails": {
"width": 150,
"height": 150
},
Expand Down
4 changes: 2 additions & 2 deletions core/modules/cart/components/Product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export const MicrocartProduct = {
thumbnail () {
const thumbnail = productThumbnailPath(this.product)
if (typeof navigator !== 'undefined' && !navigator.onLine) {
return this.getThumbnail(thumbnail, config.products.gallery.width, config.products.gallery.height) // for offline support we do need to have ProductTile version
} else return this.getThumbnail(thumbnail, config.cart.thumbnail.width, config.cart.thumbnail.height)
return this.getThumbnail(thumbnail, config.products.thumbnails.width, config.products.thumbnails.height) // for offline support we do need to have ProductTile version
} else return this.getThumbnail(thumbnail, config.cart.thumbnails.width, config.cart.thumbnails.height)
}
},
methods: {
Expand Down

0 comments on commit 8e85faa

Please sign in to comment.