Skip to content

Commit

Permalink
[Maps] fix edit filter (elastic#64586)
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Apr 28, 2020
1 parent 5b6028a commit 72d1035
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ app.controller(

function addFilters(newFilters) {
newFilters.forEach(filter => {
filter.$state = esFilters.FilterStateStore.APP_STATE;
filter.$state = { store: esFilters.FilterStateStore.APP_STATE };
});
$scope.updateFiltersAndDispatch([...$scope.filters, ...newFilters]);
}
Expand Down

0 comments on commit 72d1035

Please sign in to comment.