Skip to content

Commit

Permalink
fix(filter): add the "filled" class for styling purposes - ajust format
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallegario committed Dec 15, 2021
1 parent 4a650cd commit fc8c899
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/common/src/filters/selectFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,13 +458,13 @@ export class SelectFilter implements Filter {

/** Set value(s) on the DOM element */
protected updateFilterStyle(isFilled: boolean) {
if (isFilled) {
this.isFilled = true;
this.$filterElm?.addClass('filled').siblings('div .search-filter').addClass('filled');
} else {
this.isFilled = false;
this.$filterElm.removeClass('filled');
this.$filterElm.siblings('div .search-filter').removeClass('filled');
}
if (isFilled) {
this.isFilled = true;
this.$filterElm?.addClass('filled').siblings('div .search-filter').addClass('filled');
} else {
this.isFilled = false;
this.$filterElm.removeClass('filled');
this.$filterElm.siblings('div .search-filter').removeClass('filled');
}
}
}

0 comments on commit fc8c899

Please sign in to comment.