mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix error on index pattern deletion caused by missing method context
This commit is contained in:
parent
a8141c2370
commit
2bfb620b59
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ uiModules.get('apps/settings')
|
|||
}
|
||||
|
||||
ingest.delete($scope.indexPattern.id)
|
||||
.then($scope.indexPattern.destroy)
|
||||
.then($scope.indexPattern.destroy.bind($scope.indexPattern))
|
||||
.then(function () {
|
||||
$location.url('/settings/indices');
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue