mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
365c1dfb19
commit
fa7ec5ab95
1 changed files with 2 additions and 0 deletions
|
|
@ -238,6 +238,8 @@ export const getGroupTitleHTML = (group: IAVView, counter: number) => {
|
|||
group.groupValue.mSelect.forEach((item) => {
|
||||
nameHTML += `<span class="b3-chip" style="background-color:var(--b3-font-background${item.color});color:var(--b3-font-color${item.color})">${escapeHtml(item.content)}</span>`;
|
||||
});
|
||||
} else if (group.groupValue.type === "checkbox") {
|
||||
nameHTML = `<svg style="width:calc(1.625em - 12px);height:calc(1.625em - 12px)"><use xlink:href="#icon${group.groupValue.checkbox.checked ? "Check" : "Uncheck"}"></use></svg>`;
|
||||
} else {
|
||||
nameHTML = group.name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue