This is an automated email from the ASF dual-hosted git repository. dgnatyshyn pushed a commit to branch DLAB-1618 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 3574656a2dbfc4beec844390d894f7f85c4b914e Author: Dmytro Gnatyshyn <[email protected]> AuthorDate: Thu Mar 12 11:42:45 2020 +0200 [DLAB-1618]: bugfix --- .../resources/webapp/src/app/administration/roles/roles.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.ts b/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.ts index 00d24cf..d73ef57 100644 --- a/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.ts +++ b/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.ts @@ -130,7 +130,7 @@ export class RolesComponent implements OnInit { } else if (action === 'update') { const currGroupSource = this.startedGroups.filter(cur => cur.group === item.group)[0]; let deletedUsers = currGroupSource.users.filter(user => { - if (item.users && item.users.includes(user)) { + if (item.users.includes(user)) { return false; } return true; @@ -172,7 +172,6 @@ export class RolesComponent implements OnInit { case 'update': this.rolesService.updateGroup($event.value).subscribe(res => { this.toastr.success(`Group data is updated successfully!`, 'Success!'); - // this.getGroupsData(); }, () => this.toastr.error('Failed group data updating!', 'Oops!')); break; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
