diff --git a/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html b/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html index 20877a2f0..7590dc9a0 100644 --- a/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html +++ b/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html @@ -51,7 +51,7 @@ /> -
diff --git a/app/portainer/views/stacks/create/createStackController.js b/app/portainer/views/stacks/create/createStackController.js index 13709354e..1b174ce01 100644 --- a/app/portainer/views/stacks/create/createStackController.js +++ b/app/portainer/views/stacks/create/createStackController.js @@ -53,7 +53,6 @@ angular RepositoryMechanism: RepositoryMechanismTypes.INTERVAL, RepositoryFetchInterval: '5m', RepositoryWebhookURL: WebhookHelper.returnStackWebhookUrl(uuidv4()), - ShowForcePullImage: false, }; $scope.state = { @@ -313,7 +312,6 @@ angular } $scope.composeSyntaxMaxVersion = endpoint.ComposeSyntaxMaxVersion; - $scope.formValues.ShowForcePullImage = $scope.state.StackType !== 3; try { const containers = await ContainerService.containers(true); $scope.containerNames = ContainerHelper.getContainerNames(containers); diff --git a/app/portainer/views/stacks/create/createstack.html b/app/portainer/views/stacks/create/createstack.html index 5331cf340..e0c8655d7 100644 --- a/app/portainer/views/stacks/create/createstack.html +++ b/app/portainer/views/stacks/create/createstack.html @@ -125,6 +125,7 @@ on-change="(onChangeFormValues)" additional-file="true" auto-update="true" + show-force-pull-image="true" show-auth-explanation="true" path-text-title="Compose path" path-placeholder="docker-compose.yml"