This is an automated email from the ASF dual-hosted git repository. dgnatyshyn pushed a commit to branch DLAB-1456 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit c437d6a71f24066e92f74055f8006d831d8aaa03 Author: Dmytro Gnatyshyn <di1...@ukr.net> AuthorDate: Mon Jan 20 09:49:18 2020 +0200 [DLAB-1456]: Fixed role sort auto-triggered after group updating --- .../resources/webapp/src/app/administration/roles/roles.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 74e5bbc..356b1d2 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 @@ -173,7 +173,7 @@ export class RolesComponent implements OnInit { public updateGroupData(groups) { this.groupsData = groups; - + this.groupsData.sort(v => v.group); this.groupsData.forEach(item => { item.selected_roles = item.roles.map(role => role.description); }); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org