mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
- Fix: Boards.forEach is not function.
Thanks to xet7 !
This commit is contained in:
parent
9a053164ac
commit
a41190cdf0
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ Migrations.add('add-sort-checklists', () => {
|
|||
});
|
||||
|
||||
Migrations.add('add-swimlanes', () => {
|
||||
Boards.forEach((board) => {
|
||||
Boards.find().forEach((board) => {
|
||||
const swimlaneId = board.getDefaultSwimline()._id;
|
||||
Cards.find({ boardId: board._id }).forEach((card) => {
|
||||
if (!card.hasOwnProperty('swimlaneId')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue