mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
renamed currentNote to activeNote to be consistent with frontend API
This commit is contained in:
@@ -8,7 +8,7 @@ const SELECTED_PATH_KEY = "data-note-path";
|
||||
async function autocompleteSource(term, cb) {
|
||||
const result = await server.get('autocomplete'
|
||||
+ '?query=' + encodeURIComponent(term)
|
||||
+ '¤tNoteId=' + noteDetailService.getCurrentNoteId());
|
||||
+ '&activeNoteId=' + noteDetailService.getActiveNoteId());
|
||||
|
||||
if (result.length === 0) {
|
||||
result.push({
|
||||
|
||||
Reference in New Issue
Block a user