mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-13 23:04:12 +08:00
Handle empty checklists
If there were no items we were ignoring the checklist. Added some extra tests as well. Fixes #148
This commit is contained in:
@ -91,8 +91,6 @@ class Checklist {
|
||||
}
|
||||
|
||||
Note get note {
|
||||
if (_lines.isEmpty) return _note;
|
||||
|
||||
for (var item in items) {
|
||||
_lines[item.lineNo] = item.toString();
|
||||
}
|
||||
|
Reference in New Issue
Block a user