From 819dc4d5614923e85775d0f0c423608b93219b11 Mon Sep 17 00:00:00 2001 From: congs Date: Fri, 7 Oct 2022 16:36:19 +1300 Subject: [PATCH] fix(UI): EE-4381 environment ID is shown instead of its name when deleting an environment (#7808) --- app/portainer/views/endpoints/endpointsController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/portainer/views/endpoints/endpointsController.js b/app/portainer/views/endpoints/endpointsController.js index 703743dc1..4bf3c6f82 100644 --- a/app/portainer/views/endpoints/endpointsController.js +++ b/app/portainer/views/endpoints/endpointsController.js @@ -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'); }