Skip to content

Commit

Permalink
[Maps] fix edit filter (#64586)
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese authored Apr 28, 2020
1 parent 1282341 commit 7dc3972
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 7dc3972

Please sign in to comment.