mirror of
https://github.com/portainer/portainer.git
synced 2025-08-09 15:55:23 +02:00
fix(environments): enable manage access view [EE-5695]
fix [EE-5695]
This commit is contained in:
parent
bf51f1b6c9
commit
15982bd594
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class EndpointAccessController {
|
||||||
async $onInit() {
|
async $onInit() {
|
||||||
this.state = { actionInProgress: false };
|
this.state = { actionInProgress: false };
|
||||||
try {
|
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);
|
this.group = await this.GroupService.group(this.endpoint.GroupId);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.Notifications.error('Failure', err, 'Unable to retrieve environment information');
|
this.Notifications.error('Failure', err, 'Unable to retrieve environment information');
|
||||||
|
|
|
@ -30,7 +30,7 @@ function Cell({
|
||||||
as={Link}
|
as={Link}
|
||||||
props={{
|
props={{
|
||||||
to: 'portainer.endpoints.endpoint.access',
|
to: 'portainer.endpoints.endpoint.access',
|
||||||
params: { id: environment.Id },
|
params: { endpointId: environment.Id },
|
||||||
}}
|
}}
|
||||||
color="link"
|
color="link"
|
||||||
icon={Users}
|
icon={Users}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue