Skip to content

Instantly share code, notes, and snippets.

@jsanta
Created March 9, 2018 15:24
Show Gist options
  • Save jsanta/22b54ed9087b80585e8e30e3386bf3bd to your computer and use it in GitHub Desktop.
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)
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