mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Merge pull request #7345 from w33ble/fix/object-delete-errors
Notify user of delete failures
This commit is contained in:
commit
420f1fa092
1 changed files with 5 additions and 2 deletions
|
@ -83,9 +83,12 @@ uiModules.get('apps/settings')
|
|||
};
|
||||
|
||||
$scope.bulkDelete = function () {
|
||||
$scope.currentTab.service.delete(pluck($scope.selectedItems, 'id')).then(refreshData).then(function () {
|
||||
$scope.currentTab.service.delete(pluck($scope.selectedItems, 'id'))
|
||||
.then(refreshData)
|
||||
.then(function () {
|
||||
$scope.selectedItems.length = 0;
|
||||
});
|
||||
})
|
||||
.catch(error => notify.error(error));
|
||||
};
|
||||
|
||||
$scope.bulkExport = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue