This commit is contained in:
parent
ef1fdbf9c8
commit
686b3fc18f
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue