Skip to content

Commit

Permalink
fix(UI): EE-4381 environment ID is shown instead of its name when del…
Browse files Browse the repository at this point in the history
…eting an environment (portainer#7808)
  • Loading branch information
cmenginnz committed Oct 7, 2022
1 parent 380a64d commit 819dc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/portainer/views/endpoints/endpointsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 819dc4d

Please sign in to comment.