mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
setting the relation target note
This commit is contained in:
@@ -13,11 +13,11 @@ export async function showDialog() {
|
||||
|
||||
noteAutocompleteService.initNoteAutocomplete($autoComplete, { hideGoToSelectedNoteButton: true })
|
||||
.on('autocomplete:selected', function(event, suggestion, dataset) {
|
||||
if (!suggestion.path) {
|
||||
if (!suggestion.notePath) {
|
||||
return false;
|
||||
}
|
||||
|
||||
appContext.tabManager.getActiveTabContext().setNote(suggestion.path);
|
||||
appContext.tabManager.getActiveTabContext().setNote(suggestion.notePath);
|
||||
});
|
||||
|
||||
noteAutocompleteService.showRecentNotes($autoComplete);
|
||||
|
||||
Reference in New Issue
Block a user