mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
fixes after refactoring, base functionality works again
This commit is contained in:
@@ -19,7 +19,7 @@ const addLink = (function() {
|
||||
linkTypeChanged();
|
||||
}
|
||||
|
||||
function showDialog() {
|
||||
async function showDialog() {
|
||||
glob.activeDialog = $dialog;
|
||||
|
||||
if (noteEditor.getCurrentNoteType() === 'text') {
|
||||
@@ -49,7 +49,7 @@ const addLink = (function() {
|
||||
}
|
||||
|
||||
$autoComplete.autocomplete({
|
||||
source: treeService.getAutocompleteItems(),
|
||||
source: await treeService.getAutocompleteItems(),
|
||||
minLength: 0,
|
||||
change: () => {
|
||||
const val = $autoComplete.val();
|
||||
|
||||
Reference in New Issue
Block a user