mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(stack): hide containers for swarm stack [EE-3969] (#7503)
This commit is contained in:
parent
b91e06a60a
commit
9fbc6177a6
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue