mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	renamed currentNote to activeNote to be consistent with frontend API
This commit is contained in:
		| @@ -90,7 +90,7 @@ function AttributesModel() { | ||||
|     } | ||||
|  | ||||
|     this.loadAttributes = async function() { | ||||
|         const noteId = noteDetailService.getCurrentNoteId(); | ||||
|         const noteId = noteDetailService.getActiveNoteId(); | ||||
|  | ||||
|         const attributes = await server.get('notes/' + noteId + '/attributes'); | ||||
|  | ||||
| @@ -136,7 +136,7 @@ function AttributesModel() { | ||||
|  | ||||
|         self.updateAttributePositions(); | ||||
|  | ||||
|         const noteId = noteDetailService.getCurrentNoteId(); | ||||
|         const noteId = noteDetailService.getActiveNoteId(); | ||||
|  | ||||
|         const attributesToSave = self.ownedAttributes() | ||||
|             .map(attribute => attribute()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user