Skip to content

Commit

Permalink
refactor(esl-carousel): fix clearing of the memoized *Rules propert…
Browse files Browse the repository at this point in the history
…ies of `esl-carousel`

Co-authored-by: Dmitry Shovchko <dshovchko@exadel.com>
  • Loading branch information
ala-n and dshovchko committed Apr 9, 2024
1 parent d6d6e34 commit d27dcb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/esl-carousel/core/esl-carousel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class ESLCarousel extends ESLBaseElement {

protected override disconnectedCallback(): void {
super.disconnectedCallback();
memoize.clear(this, ['$container', '$slides', '$slidesArea']);
memoize.clear(this, ['$container', '$slides', '$slidesArea', 'typeRule', 'loopRule', 'countRule', 'verticalRule']);
}

/** Updates the config and the state that is associated with */
Expand Down

0 comments on commit d27dcb2

Please sign in to comment.