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

pull/7817/head
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
1 changed files with 1 additions and 1 deletions

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