mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 22:35:50 +01:00
small fixes
This commit is contained in:
@@ -48,7 +48,9 @@ export async function showDialog(widget) {
|
||||
$autoComplete.on('autocomplete:cursorchanged', function(event, suggestion, dataset) {
|
||||
const noteId = treeService.getNoteIdFromNotePath(suggestion.path);
|
||||
|
||||
setDefaultLinkTitle(noteId);
|
||||
if (noteId) {
|
||||
setDefaultLinkTitle(noteId);
|
||||
}
|
||||
});
|
||||
|
||||
noteAutocompleteService.showRecentNotes($autoComplete);
|
||||
|
||||
Reference in New Issue
Block a user