mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	reloading notes after script changes
This commit is contained in:
		| @@ -11,7 +11,7 @@ let revisionItems = []; | ||||
| let note; | ||||
|  | ||||
| export async function showCurrentNoteRevisions() { | ||||
|     await showNoteRevisionsDialog(noteDetailService.getActiveNoteId()); | ||||
|     await showNoteRevisionsDialog(noteDetailService.getActiveTabNoteId()); | ||||
| } | ||||
|  | ||||
| export async function showNoteRevisionsDialog(noteId, noteRevisionId) { | ||||
| @@ -24,7 +24,7 @@ export async function showNoteRevisionsDialog(noteId, noteRevisionId) { | ||||
|     $list.empty(); | ||||
|     $content.empty(); | ||||
|  | ||||
|     note = noteDetailService.getActiveNote(); | ||||
|     note = noteDetailService.getActiveTabNote(); | ||||
|     revisionItems = await server.get('notes/' + noteId + '/revisions'); | ||||
|  | ||||
|     for (const item of revisionItems) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user