Skip to content
Snippets Groups Projects
Commit ecacdab1 authored by Atte Keinänen's avatar Atte Keinänen
Browse files

Fix issue with being not able to update filters

parent 3d88e3cd
No related branches found
No related tags found
No related merge requests found
......@@ -101,8 +101,9 @@ export default class FilterPopover extends Component {
setValue(index: number, value: any) {
let { filter } = this.state;
filter[index + 2] = value;
this.setState({ filter: filter });
let newFilter = [...filter]
newFilter[index + 2] = value;
this.setState({ filter: newFilter });
}
setValues = (values: any[]) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment