lib/pt/ui.rb in pt-0.8.5 vs lib/pt/ui.rb in pt-0.8.6
- old
+ new
@@ -692,10 +692,12 @@
end
task.comments.each do |n|
title('========================================='.red)
- message ">> #{n.person.initials}: #{n.text} [#{n.file_attachment_ids&.size}F]"
+ text = ">> #{n.person.initials}: #{n.text}"
+ text << "[#{n.file_attachment_ids.size}F]" if n.file_attachment_ids
+ message text
end
save_recent_task( task.id )
end