From d6e8667d8e1bf1f2b006f284f78957e1bbddaba7 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Wed, 13 May 2020 15:45:56 -0600 Subject: [PATCH] [Maps] fix edit filter (#64586) (#64708) Co-authored-by: Elastic Machine --- x-pack/legacy/plugins/maps/public/angular/map_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/maps/public/angular/map_controller.js b/x-pack/legacy/plugins/maps/public/angular/map_controller.js index bc97643689e12..0326ecd9131ce 100644 --- a/x-pack/legacy/plugins/maps/public/angular/map_controller.js +++ b/x-pack/legacy/plugins/maps/public/angular/map_controller.js @@ -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]); }