Created
July 27, 2018 15:10
-
-
Save philipbankier/462002e800836d6854aa31d3ef45c888 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
translateFilters(allData): void { | |
this.contentCheck = this.newFilters.some(check => check !== ''); | |
} | |
updateCurrentFilters(): void { | |
this.newFilters.filter(selectedFilter => { | |
return this.currentFilters.some(currentCheck => currentCheck === selectedFilter); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment