Skip to content

Commit

Permalink
change predefined filters
Browse files Browse the repository at this point in the history
  • Loading branch information
Ante Vuletić Antić committed Feb 17, 2018
1 parent 9cd01ff commit 773771d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/common/FilterLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export class FilterLinks extends Component {
const payload = {
type: types.SET_MULTIPLE_FILTERS,
experience: 'high',
numberOfAbilities: 3,
numberOfAbilities: 'all',
abilityTypes: ['fire'],
};
this.props.actions.setVisibilityFilter(payload);
};
Expand All @@ -24,6 +25,7 @@ export class FilterLinks extends Component {
type: types.SET_MULTIPLE_FILTERS,
experience: 'low',
numberOfAbilities: 'all',
abilityTypes: [],
};
this.props.actions.setVisibilityFilter(payload);
};
Expand All @@ -33,7 +35,7 @@ export class FilterLinks extends Component {
type: types.SET_MULTIPLE_FILTERS,
experience: 'all',
numberOfAbilities: 'all',
abilityTypes: ['fire', 'ground', 'flying'],
abilityTypes: ['electric', 'bug'],
};
this.props.actions.setVisibilityFilter(payload);
};
Expand All @@ -42,7 +44,8 @@ export class FilterLinks extends Component {
const payload = {
type: types.SET_MULTIPLE_FILTERS,
experience: 'all',
abilityTypes: ['water', 'electric', 'flying'],
numberOfAbilities: 2,
abilityTypes: ['water'],
};
this.props.actions.setVisibilityFilter(payload);
};
Expand Down

0 comments on commit 773771d

Please sign in to comment.