Skip to content

Commit

Permalink
fix(storefront): BCTHEME-233 Cornerstone - Unable to Compare Products…
Browse files Browse the repository at this point in the history
… from Recently Viewed Items
  • Loading branch information
BC-tymurbiedukhin committed Oct 20, 2020
1 parent 0564704 commit 008fd31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/js/theme/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import stateCountry from './common/state-country';
import { classifyForm, Validators, insertStateHiddenField } from './common/utils/form-utils';
import { creditCardType, storeInstrument, Validators as CCValidators, Formatters as CCFormatters } from './common/payment-method';
import swal from './global/sweet-alert';
import compareProducts from './global/compare-products';

export default class Account extends PageManager {
constructor(context) {
Expand All @@ -25,6 +26,8 @@ export default class Account extends PageManager {
const $reorderForm = classifyForm('[data-account-reorder-form]');
const $invoiceButton = $('[data-print-invoice]');

compareProducts(this.context.urls);

// Injected via template
this.passwordRequirements = this.context.passwordRequirements;

Expand Down

0 comments on commit 008fd31

Please sign in to comment.