1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2026-03-18 00:19:50 +01:00

Fixed issue with filters visibility persistence event

This commit is contained in:
Max Guglielmi 2016-04-26 19:22:02 +10:00
commit 361d90cae0
12 changed files with 27 additions and 25 deletions

View file

@ -359,7 +359,7 @@ export class State extends Feature {
*
* @private
*/
_syncFiltersVisibility(){
_syncFiltersVisibility() {
if (!this.persistFiltersVisibility) {
return;
}
@ -367,6 +367,7 @@ export class State extends Feature {
let tf = this.tf;
let filtersVisibility = state[this.filtersVisKey];
this.filtersVisibility = filtersVisibility;
this.emitter.emit('show-filters', tf, filtersVisibility);
}