mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -409,7 +409,7 @@ export const genSearch = (app: App, config: ISearchOption, element: Element, clo
|
||||
event.preventDefault();
|
||||
break;
|
||||
} else if (target.classList.contains("b3-chip__close") && type === "remove-criteria") {
|
||||
const name = target.parentElement.innerText;
|
||||
const name = target.parentElement.textContent;
|
||||
fetchPost("/api/storage/removeCriterion", {name});
|
||||
criteriaData.find((item, index) => {
|
||||
if (item.name === name) {
|
||||
|
||||
Reference in New Issue
Block a user