mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(templates): fix an issue when deploying a swarm stack template
This commit is contained in:
parent
80ee25d817
commit
c8c54cf991
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue