mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-09 06:02:33 +01:00
🎨 database
This commit is contained in:
parent
7e1d5c0a26
commit
e467744165
2 changed files with 6 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue