소스 검색

Merge pull request #5040 from Pandetthe/master

Fix get_board_cards_count
Lauri Ojansivu 1 년 전
부모
커밋
e4ae57bf7f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

@@ -3392,7 +3392,7 @@ JsonRoutes.add('GET', '/api/boards/:boardId/cards_count', function(
         board_cards_count: ReactiveCache.getCards({
           boardId: paramBoardId,
           archived: false,
-        }),
+        }).length,
       }
     });
   } catch (error) {