diff --git a/app/portainer/views/endpoints/endpointsController.js b/app/portainer/views/endpoints/endpointsController.js index 703743dc19583..4bf3c6f8272b2 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'); }