Fix search on labels crashing bug

reviewable/pr3634/r1
John R. Supplee 4 years ago
parent 16dbb88ee3
commit da1d94775c
  1. 3
      server/publications/cards.js

@ -501,6 +501,9 @@ Meteor.publish('globalSearch', function(sessionId, queryParams) {
boards.forEach(board => {
board.labels
.filter(boardLabel => {
if (!boardLabel.name) {
return false;
}
return boardLabel.name.match(reLabel);
})
.forEach(boardLabel => {

Loading…
Cancel
Save