Fix error on index pattern deletion caused by missing method context

This commit is contained in:
Matthew Bargar 2016-06-03 19:18:32 -04:00
parent a8141c2370
commit 2bfb620b59

View file

@ -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');
})