Fixed incorrect filter param being used after members import

no issue

- after importing members a filter is applied to the members list only shows imported members
- the query param used for this was still using an old format which correctly updated the list but meant that the filter selection UI was left in a bad state that didn't correctly show the selected label or allow easy clearing of the bad filter
This commit is contained in:
Kevin Ansfield 2022-01-05 12:48:52 +00:00
parent 3c2523c337
commit d58cdee441
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export default class ImportController extends Controller {
@action
refreshMembers({label} = {}) {
if (label) {
let queryParams = Object.assign(resetQueryParams('members.index'), {label: label.slug});
let queryParams = Object.assign(resetQueryParams('members.index'), {filter: `label:[${label.slug}]`});
this.router.transitionTo({queryParams});
}
this.members.refreshData();