mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 21:17:18 -04:00
Another fix for checklists item migration error "title is required"
8d5cbf1e6c (commitcomment-29362180)
Thanks to oec !
Closes #1576
This commit is contained in:
parent
23726136bd
commit
454aa05987
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ Migrations.add('add-sort-checklists', () => {
|
|||
noValidate
|
||||
);
|
||||
}
|
||||
checklist.items.find().forEach((item, index) => {
|
||||
checklist.items.forEach((item, index) => {
|
||||
if (!item.hasOwnProperty('sort')) {
|
||||
Checklists.direct.update(
|
||||
{ _id: checklist._id, 'items._id': item._id },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue