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 (bigcommerce#1888)
  • Loading branch information
BC-tymurbiedukhin authored Nov 17, 2020
1 parent 1520045 commit 4d4f9f2
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
- Shoppers are not anchor-linked to reviews on PDPs if product description tabs are enabled. [#1883](https://github.com/bigcommerce/cornerstone/pull/1883)
- Fixed text contrast for brand name on Cart page. [#1882](https://github.com/bigcommerce/cornerstone/pull/1882)
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 4d4f9f2

Please sign in to comment.