Merge pull request #3634 from jrsupplee/issue-3587

Fix search on labels server error
This commit is contained in:
Lauri Ojansivu 2021-03-05 19:40:24 +02:00 committed by GitHub
commit f293700db3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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