mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-06 04:50:03 -06:00
fix handling of note history - when saving note history we save previous state, not current
This commit is contained in:
@@ -27,7 +27,7 @@ const noteHistory = (function() {
|
||||
historyItems = await server.get('notes-history/' + noteId);
|
||||
|
||||
for (const item of historyItems) {
|
||||
const dateModified = getDateFromTS(item.date_modified_to);
|
||||
const dateModified = getDateFromTS(item.date_modified_from);
|
||||
|
||||
$("#note-history-list").append($('<option>', {
|
||||
value: item.note_history_id,
|
||||
|
||||
Reference in New Issue
Block a user