瀏覽代碼

Fix cannot show archived list bug

Romulus Urakagi Tsai 5 年之前
父節點
當前提交
b778cea34f
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      models/boards.js

+ 1 - 4
models/boards.js

@@ -407,10 +407,7 @@ Boards.helpers({
   },
   },
 
 
   lists() {
   lists() {
-    return Lists.find(
-      { boardId: this._id, archived: false },
-      { sort: { sort: 1 } },
-    );
+    return Lists.find({ boardId: this._id }, { sort: { sort: 1 } });
   },
   },
 
 
   nullSortLists() {
   nullSortLists() {