EE-3916 fix container link under stack detail page (#7509)

pull/7536/head
Rex Wang 2022-08-17 23:48:21 +08:00 committed by GitHub
parent cc6c5d45b7
commit 20053b1f07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -376,6 +376,17 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
},
};
var stackContainer = {
name: 'docker.stacks.stack.container',
url: '/:id?nodeName',
views: {
'content@': {
templateUrl: '~@/docker/views/containers/edit/container.html',
controller: 'ContainerController',
},
},
};
var stackCreation = {
name: 'docker.stacks.newstack',
url: '/newstack',
@ -553,6 +564,7 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
$stateRegistryProvider.register(serviceLogs);
$stateRegistryProvider.register(stacks);
$stateRegistryProvider.register(stack);
$stateRegistryProvider.register(stackContainer);
$stateRegistryProvider.register(stackCreation);
$stateRegistryProvider.register(swarm);
$stateRegistryProvider.register(swarmVisualizer);