Browse Source

Merge pull request #2948 from NicoP-S/master

Make profile.initials available in publications
Lauri Ojansivu 5 years ago
parent
commit
83b042701f
2 changed files with 2 additions and 0 deletions
  1. 1 0
      server/publications/boards.js
  2. 1 0
      server/publications/users.js

+ 1 - 0
server/publications/boards.js

@@ -192,6 +192,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) {
                 username: 1,
                 'profile.fullname': 1,
                 'profile.avatarUrl': 1,
+                'profile.initials': 1,
               },
             },
           ),

+ 1 - 0
server/publications/users.js

@@ -6,6 +6,7 @@ Meteor.publish('user-miniprofile', function(userId) {
       username: 1,
       'profile.fullname': 1,
       'profile.avatarUrl': 1,
+      'profile.initials': 1,
     },
   });
 });