Fix search on labels crashing bug

This commit is contained in:
John R. Supplee 2021-03-04 18:35:02 +02:00
parent 16dbb88ee3
commit da1d94775c

View file

@ -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 => {