You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dg...@apache.org on 2020/01/20 07:51:31 UTC

[incubator-dlab] branch develop updated: [DLAB-1456]: Fixed role sort auto-triggered after group updating (#532)

This is an automated email from the ASF dual-hosted git repository.

dgnatyshyn pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/develop by this push:
     new d1cea53  [DLAB-1456]: Fixed role sort auto-triggered after group updating (#532)
d1cea53 is described below

commit d1cea535c890b12ad5dd84bd488a41e6de9438f9
Author: Dmytro Gnatyshyn <42...@users.noreply.github.com>
AuthorDate: Mon Jan 20 09:51:22 2020 +0200

    [DLAB-1456]: Fixed role sort auto-triggered after group updating (#532)
    
    [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-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org