Skip to content

Commit

Permalink
fix: Remove set initialState in onChangeFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
EndyKaufman committed Mar 10, 2019
1 parent d72e27a commit ddfeeff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Expand Up @@ -134,15 +134,6 @@ export class GroupsListComponent extends BaseEntityListComponent<Group> implemen
if (usersListFiltersModal.sortType) {
filter['sort'] = (usersListFiltersModal.sortType.id === 'asc' ? '' : '-') + filter['sort'];
}
if (!this.modalUpdate.initialState) {
this.modalUpdate.initialState = {};
}
if (!this.modalView.initialState) {
this.modalView.initialState = {};
}
if (!this.modalCreate.initialState) {
this.modalCreate.initialState = {};
}
super.onChangeFilter(filter);
}
}
Expand Up @@ -138,15 +138,6 @@ export class UsersListComponent extends BaseEntityListComponent<CustomUser> impl
if (usersListFiltersModal.sortType) {
filter['sort'] = (usersListFiltersModal.sortType.id === 'asc' ? '' : '-') + filter['sort'];
}
if (!this.modalUpdate.initialState) {
this.modalUpdate.initialState = {};
}
if (!this.modalView.initialState) {
this.modalView.initialState = {};
}
if (!this.modalCreate.initialState) {
this.modalCreate.initialState = {};
}
super.onChangeFilter(filter);
}

Expand Down

0 comments on commit ddfeeff

Please sign in to comment.