mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
server-ts: Convert routes/api/bulk_action
This commit is contained in:
@@ -150,7 +150,7 @@ function getActions(note: BNote) {
|
||||
.filter(a => !!a);
|
||||
}
|
||||
|
||||
function executeActions(note: BNote, searchResultNoteIds: string[]) {
|
||||
function executeActions(note: BNote, searchResultNoteIds: string[] | Set<string>) {
|
||||
const actions = getActions(note);
|
||||
|
||||
for (const resultNoteId of searchResultNoteIds) {
|
||||
|
||||
Reference in New Issue
Block a user