Browse Source

Fix cannot show archived list bug

Romulus Urakagi Tsai 5 years ago
parent
commit
b778cea34f
1 changed files with 1 additions and 4 deletions
  1. 1 4
      models/boards.js

+ 1 - 4
models/boards.js

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