mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-02 10:50:15 +01:00
🚨
This commit is contained in:
parent
887443c321
commit
39f9aaca82
11 changed files with 45 additions and 46 deletions
|
|
@ -227,7 +227,7 @@ export const saveCriterion = (config: ISearchOption,
|
|||
criteriaElement.firstElementChild.insertAdjacentHTML("beforeend", `<div data-type="set-criteria" class="b3-chip b3-chip--middle b3-chip--pointer b3-chip--${["secondary", "primary", "info", "success", "warning", "error", ""][(criteriaElement.firstElementChild.childElementCount) % 7]}">${criterion.name}<svg class="b3-chip__close" data-type="remove-criteria"><use xlink:href="#iconCloseRound"></use></svg></div>`);
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
export const moreMenu = async (config: ISearchOption,
|
||||
criteriaData: ISearchOption[],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue