ソースを参照

Swimlanes ID missing in new boards

when creating a new card in a new board there were and error on console. Result: card was not created. adding this parenthesis it works now.
Just for info. without this change if you want to create a card you need to change view to swimlines and go back to list view
mvolo17 5 年 前
コミット
ea0239538a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      client/components/lists/listBody.js

+ 1 - 1
client/components/lists/listBody.js

@@ -77,7 +77,7 @@ BlazeComponent.extendComponent({
       else if (
         Utils.boardView() === 'board-view-lists' ||
         Utils.boardView() === 'board-view-cal' ||
-        !Utils.boardView
+        !Utils.boardView()
       )
         swimlaneId = board.getDefaultSwimline()._id;