浏览代码

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