1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 21:35:23 +02:00

fix(UI): EE-4381 environment ID is shown instead of its name when deleting an environment (#7808)

This commit is contained in:
congs 2022-10-07 16:36:19 +13:00 committed by GitHub
parent 380a64d546
commit 819dc4d561
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');
}