Explorar el Código

Active members list now is ordered.

helioguardabaxo hace 1 año
padre
commit
089913ff4c
Se han modificado 1 ficheros con 2 adiciones y 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() {