Explorar o código

Active members list now is ordered.

helioguardabaxo hai 1 ano
pai
achega
089913ff4c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      models/boards.js

+ 2 - 1
models/boards.js

@@ -836,7 +836,8 @@ Boards.helpers({
   },
 
   activeMembers(){
-    return _.where(this.members, { isActive: true });
+    const members = _.where(this.members, { isActive: true });
+    return _.sortBy(members, 'username');
   },
 
   activeOrgs() {