Skip to content

Commit

Permalink
fix(storefront): BCTHEME-308 HTML Entity displayed as is via system/e…
Browse files Browse the repository at this point in the history
…rror message on a Storefront
  • Loading branch information
BC-tymurbiedukhin committed Oct 29, 2020
1 parent 18ce009 commit f6197f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

- HTML Entity displayed as is via system/error message on a Storefront. [#1888](https://github.com/bigcommerce/cornerstone/pull/1888)

## Draft
- Reduce lodash usage in compare-products.js and image-gallery.js [#1827](https://github.com/bigcommerce/cornerstone/pull/1827)
- Fixed Product Image Carousel Becomes Responsiveness on Product Page. [#1879](https://github.com/bigcommerce/cornerstone/pull/1879)
Expand Down
4 changes: 2 additions & 2 deletions assets/js/theme/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export default class Cart extends PageManager {
this.refreshContent();
} else {
swal.fire({
text: response.data.errors.join('\n'),
html: response.data.errors.join('\n'),
icon: 'error',
});
}
Expand Down Expand Up @@ -348,7 +348,7 @@ export default class Cart extends PageManager {
this.refreshContent();
} else {
swal.fire({
text: resp.data.errors.join('\n'),
html: resp.data.errors.join('\n'),
icon: 'error',
});
}
Expand Down

0 comments on commit f6197f2

Please sign in to comment.