mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
feat(kube): Add a confirmation modal before deleting one or more application or configuration (#4522)
This commit is contained in:
parent
20cf948e53
commit
60c5ab3eec
2 changed files with 12 additions and 3 deletions
|
@ -79,7 +79,11 @@ class KubernetesApplicationsController {
|
|||
}
|
||||
|
||||
removeAction(selectedItems) {
|
||||
return this.$async(this.removeActionAsync, selectedItems);
|
||||
this.ModalService.confirmDeletion('Do you want to remove the selected application(s)?', (confirmed) => {
|
||||
if (confirmed) {
|
||||
return this.$async(this.removeActionAsync, selectedItems);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
onPublishingModeClick(application) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue