mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 17:26:10 +01:00
🚨
This commit is contained in:
parent
e6a8abf004
commit
6f0c68f506
11 changed files with 29 additions and 31 deletions
|
|
@ -667,7 +667,7 @@ export const renderCell = (cellValue: IAVCellValue, wrap: boolean) => {
|
|||
};
|
||||
|
||||
const renderRollup = (cellValue: IAVCellValue) => {
|
||||
let text = ""
|
||||
let text = "";
|
||||
if (["text"].includes(cellValue.type)) {
|
||||
text = cellValue ? (cellValue[cellValue.type as "text"].content || "") : "";
|
||||
} else if (["url", "email", "phone"].includes(cellValue.type)) {
|
||||
|
|
@ -700,7 +700,7 @@ const renderRollup = (cellValue: IAVCellValue) => {
|
|||
}
|
||||
}
|
||||
return text;
|
||||
}
|
||||
};
|
||||
|
||||
export const updateHeaderCell = (cellElement: HTMLElement, headerValue: {
|
||||
icon?: string,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue