diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts
index 4bb1204b1..a4be23f36 100644
--- a/app/src/protyle/render/av/cell.ts
+++ b/app/src/protyle/render/av/cell.ts
@@ -994,7 +994,7 @@ export const renderCell = (cellValue: IAVCellValue, rowIndex = 0, showIcon = tru
text += "";
} else if (cellValue.type === "rollup") {
cellValue?.rollup?.contents?.forEach((item) => {
- const rollupText = ["template", "select", "mSelect", "mAsset", "checkbox", "relation"].includes(item.type) ? renderCell(item, rowIndex, showIcon, type) : renderRollup(item);
+ const rollupText = ["template", "select", "mSelect", "mAsset", "checkbox", "relation"].includes(item.type) ? renderCell(item, rowIndex, showIcon, type) : renderRollup(item, showIcon);
if (rollupText) {
text += rollupText + ", ";
}
@@ -1028,7 +1028,7 @@ export const renderCell = (cellValue: IAVCellValue, rowIndex = 0, showIcon = tru
return text;
};
-const renderRollup = (cellValue: IAVCellValue) => {
+const renderRollup = (cellValue: IAVCellValue, showIcon: boolean) => {
let text = "";
if (["text"].includes(cellValue.type)) {
text = cellValue ? (cellValue[cellValue.type as "text"].content || "") : "";
@@ -1046,7 +1046,7 @@ const renderRollup = (cellValue: IAVCellValue) => {
if (cellValue?.isDetached) {
text = `${Lute.EscapeHTMLStr(cellValue.block?.content || window.siyuan.languages.untitled)}`;
} else {
- text = `${Lute.EscapeHTMLStr(cellValue.block?.content || window.siyuan.languages.untitled)}`;
+ text = `${Lute.EscapeHTMLStr(cellValue.block?.content || window.siyuan.languages.untitled)}`;
}
} else if (cellValue.type === "number") {
text = cellValue?.number.formattedContent || cellValue?.number.content.toString() || "";