Skip to content

Commit

Permalink
Reset active-filters on object-type change
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda committed Aug 16, 2023
1 parent 62924f0 commit d023218
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ export default class SearchPage extends Component<SearchArgs> {
@action
updateResourceType(resourceTypeOption: ResourceTypeOption) {
this.resourceType = resourceTypeOption.value;
this.activeFilters = A<Filter>([]);
this.page = '';
taskFor(this.search).perform();
}
Expand Down

0 comments on commit d023218

Please sign in to comment.