mirror of https://github.com/portainer/portainer
fix(UI): EE-4381 environment ID is shown instead of its name when deleting an environment (#7808)
parent
380a64d546
commit
819dc4d561
|
@ -37,7 +37,7 @@ export class EndpointsController {
|
|||
return this.$async(async () => {
|
||||
try {
|
||||
await Promise.all(endpoints.map(({ Id }) => this.EndpointService.deleteEndpoint(Id)));
|
||||
this.Notifications.success('Environments successfully removed', map(endpoints, 'Id').join(', '));
|
||||
this.Notifications.success('Environments successfully removed', map(endpoints, 'Name').join(', '));
|
||||
} catch (err) {
|
||||
this.Notifications.error('Failure', err, 'Unable to remove environment');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue