From 2f50ae8f68fa9bf38113281a994098e9913cdb4a Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Wed, 7 Aug 2019 15:24:48 +0200 Subject: [PATCH] fix graph index pattern filter (#42674) --- x-pack/legacy/plugins/graph/public/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/graph/public/app.js b/x-pack/legacy/plugins/graph/public/app.js index 4b3a4f96b796c..02ed7e5187852 100644 --- a/x-pack/legacy/plugins/graph/public/app.js +++ b/x-pack/legacy/plugins/graph/public/app.js @@ -742,7 +742,7 @@ app.controller('graphuiPlugin', function ( } } - $scope.indices = $route.current.locals.indexPatterns.filter(indexPattern => !indexPattern.type); + $scope.indices = $route.current.locals.indexPatterns.filter(indexPattern => !indexPattern.attributes.type); $scope.setDetail = function (data) {