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:
parent
380a64d546
commit
819dc4d561
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue