mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 17:25:52 +01:00
bring back "create and link note" into more places, fixes #1653
This commit is contained in:
@@ -50,7 +50,7 @@ export default class SearchScript extends AbstractSearchOption {
|
||||
doRender() {
|
||||
const $option = $(TPL);
|
||||
const $searchScript = $option.find('.search-script');
|
||||
noteAutocompleteService.initNoteAutocomplete($searchScript);
|
||||
noteAutocompleteService.initNoteAutocomplete($searchScript, {allowCreatingNotes: true});
|
||||
|
||||
$searchScript.on('autocomplete:closed', async () => {
|
||||
const searchScriptNoteId = $searchScript.getSelectedNoteId();
|
||||
|
||||
Reference in New Issue
Block a user