fix(stack): EE-3908 broken modal when updating/redeploying stacks: turn off toggle (#7573)
parent
a54c54ef24
commit
ad8054ac1f
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue