mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-20 12:10:46 -06:00
fix opening note revisions from the sidebar
This commit is contained in:
@@ -20,7 +20,7 @@ class NoteRevisionsWidget extends StandardWidget {
|
||||
const $showFullButton = $("<a>").append("show dialog").addClass('widget-header-action');
|
||||
$showFullButton.click(async () => {
|
||||
const attributesDialog = await import("../dialogs/note_revisions.js");
|
||||
attributesDialog.showDialog();
|
||||
attributesDialog.showCurrentNoteRevisions(this.ctx.note.noteId);
|
||||
});
|
||||
|
||||
return [$showFullButton];
|
||||
|
||||
Reference in New Issue
Block a user