diff --git a/src/frontend/app/administration/user/users-list.component.ts b/src/frontend/app/administration/user/users-list.component.ts index 59b981e90ec20a2059a3b2e8b0b74039fc469cee..a927a3eabd8a44fbf824424442595434f0eab34c 100644 --- a/src/frontend/app/administration/user/users-list.component.ts +++ b/src/frontend/app/administration/user/users-list.component.ts @@ -105,12 +105,12 @@ export class UsersListComponent { const indexToDelete = this.userList.findIndex(user => user.id === userToDelete.id); this.userList.splice(indexToDelete, 1); - this.sortedData = this.userList.slice(); - this.notificationService.success('lang.userDeleted'); - }, + error: err => { + this.notificationService.handleErrors(err); + } }); } }