mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
feat(containers) - Add the ability to force remove a container with confirmation (#814)
This commit is contained in:
parent
2761959f93
commit
ac872b577a
10 changed files with 48 additions and 13 deletions
|
@ -224,7 +224,7 @@ function ($scope, $stateParams, $state, $location, $anchorScroll, Service, Servi
|
|||
|
||||
$scope.removeService = function() {
|
||||
ModalService.confirmDeletion(
|
||||
'Do you want to delete this service? All the containers associated to this service will be removed too.',
|
||||
'Do you want to remove this service? All the containers associated to this service will be removed too.',
|
||||
function onConfirm(confirmed) {
|
||||
if(!confirmed) { return; }
|
||||
removeService();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue