diff --git a/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.controller.js b/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.controller.js index b5e4c3743..368cfd51d 100644 --- a/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.controller.js +++ b/app/portainer/components/forms/stack-redeploy-git-form/stack-redeploy-git-form.controller.js @@ -108,7 +108,7 @@ class StackRedeployGitFormController { ''; const template = angular.element(tplCrop); const html = this.$compile(template)(this.$scope); - this.ModalService.confirmStackUpdate(html, true, true, 'btn-warning', async (result) => { + this.ModalService.confirmStackUpdate(html, true, false, 'btn-warning', async (result) => { if (!result) { return; } diff --git a/app/portainer/views/stacks/edit/stackController.js b/app/portainer/views/stacks/edit/stackController.js index 948e43a0e..421991848 100644 --- a/app/portainer/views/stacks/edit/stackController.js +++ b/app/portainer/views/stacks/edit/stackController.js @@ -250,7 +250,7 @@ angular.module('portainer.app').controller('StackController', [ const template = angular.element(tplCrop); const html = $compile(template)($scope); // 'Do you want to force an update of the stack?' - ModalService.confirmStackUpdate(html, true, true, null, function (result) { + ModalService.confirmStackUpdate(html, true, false, null, function (result) { if (!result) { return; }