mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
This commit is contained in:
parent
2fb7c8c5bc
commit
929a25a783
1 changed files with 1 additions and 1 deletions
|
|
@ -613,6 +613,7 @@ export const genSearch = (config: ISearchOption, element: Element, closeCB?: ()
|
|||
};
|
||||
|
||||
const addConfigMoreMenu = async (config: ISearchOption, edit: Protyle, element: Element, event: MouseEvent) => {
|
||||
const criteria = await fetchSyncPost("/api/storage/getCriteria");
|
||||
window.siyuan.menus.menu.remove();
|
||||
const sortMenu = [{
|
||||
label: window.siyuan.languages.type,
|
||||
|
|
@ -788,7 +789,6 @@ const addConfigMoreMenu = async (config: ISearchOption, edit: Protyle, element:
|
|||
});
|
||||
}
|
||||
}).element);
|
||||
const criteria = await fetchSyncPost("/api/storage/getCriteria");
|
||||
const searchSubMenu: IMenu[] = [];
|
||||
criteria.data.forEach((item: ISearchOption) => {
|
||||
searchSubMenu.push({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue