mirror of https://github.com/portainer/portainer
parent
bf51f1b6c9
commit
15982bd594
|
@ -21,7 +21,7 @@ class EndpointAccessController {
|
|||
async $onInit() {
|
||||
this.state = { actionInProgress: false };
|
||||
try {
|
||||
this.endpoint = await this.EndpointService.endpoint(this.$transition$.params().id);
|
||||
this.endpoint = await this.EndpointService.endpoint(this.$transition$.params().endpointId);
|
||||
this.group = await this.GroupService.group(this.endpoint.GroupId);
|
||||
} catch (err) {
|
||||
this.Notifications.error('Failure', err, 'Unable to retrieve environment information');
|
||||
|
|
|
@ -30,7 +30,7 @@ function Cell({
|
|||
as={Link}
|
||||
props={{
|
||||
to: 'portainer.endpoints.endpoint.access',
|
||||
params: { id: environment.Id },
|
||||
params: { endpointId: environment.Id },
|
||||
}}
|
||||
color="link"
|
||||
icon={Users}
|
||||
|
|
Loading…
Reference in New Issue