mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
saved search note now has refresh button, closes #369
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import noteDetailService from "./note_detail.js";
|
||||
import treeService from "./tree.js";
|
||||
import infoService from './info.js';
|
||||
import searchNotesService from "./search_notes.js";
|
||||
|
||||
const $searchString = $("#search-string");
|
||||
const $component = $('#note-detail-search');
|
||||
@@ -31,9 +30,7 @@ function getContent() {
|
||||
$refreshButton.click(async () => {
|
||||
await noteDetailService.saveNoteIfChanged();
|
||||
|
||||
treeService.reload();
|
||||
|
||||
infoService.showMessage('Tree has been refreshed.');
|
||||
await searchNotesService.refreshSearch();
|
||||
});
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user