mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
introduced NoteFull entity, fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import treeService from './tree.js';
|
||||
import server from './server.js';
|
||||
|
||||
const $tree = $("#tree");
|
||||
const $searchInput = $("input[name='search-text']");
|
||||
@@ -45,6 +46,8 @@ async function doSearch() {
|
||||
async function saveSearch() {
|
||||
const {noteId} = await server.post('search/' + encodeURIComponent($searchInput.val()));
|
||||
|
||||
resetSearch();
|
||||
|
||||
await treeService.reload();
|
||||
|
||||
await treeService.activateNode(noteId);
|
||||
|
||||
Reference in New Issue
Block a user