Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
notifyAppliedFilters() {
const { filterNames, appliedFilters } = this;
if (!contains(filterNames, appliedFilters)) {
this.mutateArray('applied-filters', filterNames);
}
}
}
get filterIsActive() {
const { filterNames, appliedFilters } = this;
return contains(filterNames, appliedFilters);
}