mirror of https://github.com/portainer/portainer
fix(templates): fix an issue when deploying a swarm stack template
parent
80ee25d817
commit
c8c54cf991
|
@ -164,7 +164,7 @@ function ($scope, $q, $state, $transition$, $anchorScroll, ContainerService, Ima
|
|||
$scope.state.actionInProgress = true;
|
||||
if (template.Type === 2) {
|
||||
createStackFromTemplate(template, userId, accessControlData);
|
||||
} if (template.Type === 3) {
|
||||
} else if (template.Type === 3) {
|
||||
createComposeStackFromTemplate(template, userId, accessControlData);
|
||||
} else {
|
||||
createContainerFromTemplate(template, userId, accessControlData);
|
||||
|
|
Loading…
Reference in New Issue