fix(stack): hide containers for swarm stack [EE-3969] (#7503)
parent
b91e06a60a
commit
9fbc6177a6
|
@ -497,7 +497,8 @@ angular.module('portainer.app').controller('StackController', [
|
|||
|
||||
$scope.composeSyntaxMaxVersion = endpoint.ComposeSyntaxMaxVersion;
|
||||
|
||||
$scope.stackType = $transition$.params().type;
|
||||
$scope.stackType = parseInt($transition$.params().type, 10);
|
||||
|
||||
$scope.editorReadOnly = !Authentication.hasAuthorizations(['PortainerStackUpdate']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue