mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 16:20:08 +01:00
refactor(bulk_action): remake types & change method signature
This commit is contained in:
@@ -12,7 +12,7 @@ function execute(req: Request) {
|
||||
|
||||
const bulkActionNote = becca.getNoteOrThrow("_bulkAction");
|
||||
|
||||
bulkActionService.executeActions(bulkActionNote, affectedNoteIds);
|
||||
bulkActionService.executeActionsFromNote(bulkActionNote, affectedNoteIds);
|
||||
}
|
||||
|
||||
function getAffectedNoteCount(req: Request) {
|
||||
|
||||
@@ -40,7 +40,7 @@ function searchAndExecute(req: Request) {
|
||||
|
||||
const { searchResultNoteIds } = searchService.searchFromNote(note);
|
||||
|
||||
bulkActionService.executeActions(note, searchResultNoteIds);
|
||||
bulkActionService.executeActionsFromNote(note, searchResultNoteIds);
|
||||
}
|
||||
|
||||
function quickSearch(req: Request) {
|
||||
|
||||
Reference in New Issue
Block a user