mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 10:20:14 +01:00
Merge branch 'migration-checklistitems-fix' of https://github.com/franksiler/wekan into franksiler-migration-checklistitems-fix
This commit is contained in:
commit
41b938ea69
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ Migrations.add('add-checklist-items', () => {
|
||||||
// Create new items
|
// Create new items
|
||||||
_.sortBy(checklist.items, 'sort').forEach((item, index) => {
|
_.sortBy(checklist.items, 'sort').forEach((item, index) => {
|
||||||
ChecklistItems.direct.insert({
|
ChecklistItems.direct.insert({
|
||||||
title: checklist.title,
|
title: item.title,
|
||||||
sort: index,
|
sort: index,
|
||||||
isFinished: item.isFinished,
|
isFinished: item.isFinished,
|
||||||
checklistId: checklist._id,
|
checklistId: checklist._id,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue