This commit is contained in:
Vanessa 2023-04-23 12:00:47 +08:00
parent fb8125509f
commit 0e04a0a4e3
3 changed files with 90 additions and 14 deletions

View file

@ -95,7 +95,7 @@ export const openSearch = async (hotkey: string, key?: string, notebookId?: stri
idPath,
group: localData.group,
sort: localData.sort,
types: localData.types,
types: Object.assign({}, localData.types),
page: key ? 1 : localData.page
}, dialog.element.querySelector(".b3-dialog__container").lastElementChild, () => {
dialog.destroy();

View file

@ -67,7 +67,7 @@ export const openGlobalSearch = (text: string, replace: boolean) => {
idPath: [],
group: localData.group,
sort: localData.sort,
types: localData.types,
types: Object.assign({}, localData.types),
removed: localData.removed,
page: 1
}