diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2018-03-19 15:03:44 -0300 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2018-03-19 15:03:44 -0300 |
commit | 153960742cac53c52f176f1bc645d850f25ac966 (patch) | |
tree | e965ea478a8e3025e6497e7deb6f40eb50a2bd37 /client/components/cards/checklists.jade | |
parent | bf7de463f1f71f1758b62187667bf3a7e55585ff (diff) | |
download | wekan-153960742cac53c52f176f1bc645d850f25ac966.tar.gz wekan-153960742cac53c52f176f1bc645d850f25ac966.tar.bz2 wekan-153960742cac53c52f176f1bc645d850f25ac966.zip |
Fix migration. Replace old checklist-item sort algorithm.
Diffstat (limited to 'client/components/cards/checklists.jade')
-rw-r--r-- | client/components/cards/checklists.jade | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/checklists.jade b/client/components/cards/checklists.jade index 42fe3bd4..c73602b5 100644 --- a/client/components/cards/checklists.jade +++ b/client/components/cards/checklists.jade @@ -70,7 +70,7 @@ template(name="editChecklistItemForm") template(name="checklistItems") .checklist-items.js-checklist-items - each item in checklist.getItemsSorted + each item in checklist.items +inlinedForm(classNames="js-edit-checklist-item" item = item checklist = checklist) +editChecklistItemForm(type = 'item' item = item checklist = checklist) else @@ -84,7 +84,7 @@ template(name="checklistItems") | {{_ 'add-checklist-item'}}... template(name='itemDetail') - .item.js-checklist-item + .js-checklist-item.checklist-item if canModifyCard .check-box.materialCheckBox(class="{{#if item.isFinished }}is-checked{{/if}}") .item-title.js-open-inlined-form.is-editable(class="{{#if item.isFinished }}is-checked{{/if}}") |