1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

fix(stack): EE-3908 broken modal when updating/redeploying stacks: turn off toggle (#7573)

This commit is contained in:
congs 2022-08-26 17:54:10 +12:00 committed by GitHub
parent a54c54ef24
commit ad8054ac1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ class StackRedeployGitFormController {
'<be-feature-indicator feature="stackPullImageFeature"></be-feature-indicator></div></div>';
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;
}

View file

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