1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Handle user timestamp

This commit is contained in:
Laurent Cozic
2017-08-20 22:11:32 +02:00
parent 671e8a3fc8
commit 36743bb4d7
14 changed files with 95 additions and 14 deletions

View File

@ -61,7 +61,7 @@ class NoteListComponent extends Component {
for (let i = 0; i < notes.length; i++) {
const note = notes[i];
if (note.is_todo) {
if (todoFilter == 'recent' && note.updated_time < notRecentTime && !!note.todo_completed) continue;
if (todoFilter == 'recent' && note.user_updated_time < notRecentTime && !!note.todo_completed) continue;
if (todoFilter == 'nonCompleted' && !!note.todo_completed) continue;
}
output.push(note);