Created
March 9, 2018 15:24
-
-
Save jsanta/22b54ed9087b80585e8e30e3386bf3bd to your computer and use it in GitHub Desktop.
resetFilter function, to reset all active filter to their default state (no active filters)
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
resetFilters() { | |
this.activeFilters = []; | |
this.filteredData = this.data; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment