🎨 database

This commit is contained in:
Vanessa 2023-08-01 22:09:07 +08:00
parent 7e1d5c0a26
commit e467744165
2 changed files with 6 additions and 2 deletions

View file

@ -240,7 +240,7 @@ export const updateHeader = (rowElement: HTMLElement) => {
const headUseElement = headElement.querySelector("use");
const counterElement = blockElement.querySelector(".av__counter");
const avHeadElement = blockElement.querySelector(".av__header") as HTMLElement;
if (diffCount === 0) {
if (diffCount === 0 && rowElement.parentElement.childElementCount - 3 !== 0) {
headElement.classList.add("av__row--select");
headUseElement.setAttribute("xlink:href", "#iconCheck");
} else if (diffCount === rowElement.parentElement.childElementCount - 3) {