mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
This was missed during the recent migrations to React of Anomaly Explorer in #28750. It removes the now unnecessary `$scope.indexPatterns`.
This commit is contained in:
parent
a590b2fd96
commit
266a0c7345
1 changed files with 0 additions and 2 deletions
|
@ -51,7 +51,6 @@ uiRoutes
|
|||
});
|
||||
|
||||
import { uiModules } from 'ui/modules';
|
||||
import { getFromSavedObject } from 'ui/index_patterns/static_utils';
|
||||
|
||||
const module = uiModules.get('apps/ml');
|
||||
|
||||
|
@ -75,7 +74,6 @@ module.controller('MlExplorerController', function (
|
|||
// $scope should only contain what's actually still necessary for the angular part.
|
||||
// For the moment that's the job selector and the (hidden) filter bar.
|
||||
$scope.jobs = [];
|
||||
$scope.indexPatterns = $route.current ? $route.current.locals.indexPatterns.map(getFromSavedObject) : [];
|
||||
timefilter.enableTimeRangeSelector();
|
||||
timefilter.enableAutoRefreshSelector();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue