This commit is contained in:
zmagod 2017-05-03 10:55:11 +02:00
parent 0456393317
commit d5abb52909

View file

@ -74,8 +74,7 @@ module StepsActions
e.items.each do |ci|
old_list = old_checklists.select { |i| i.id == e.id }.first
old_item = old_list.items.select { |i| i.id == ci.id }.first if old_list
text = old_item.text if old_item
text ||= ''
text = old_item ? old_item.text : ''
checklist_item_annotation(step, ci, text)
end
end