ソースを参照

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