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 f7893a7 commit 32e7df5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,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 32e7df5

Please sign in to comment.