diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index 4cfeea923..2dedae4be 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -668,7 +668,7 @@ export const renderCell = (cellValue: IAVCellValue, wrap: boolean) => { const renderRollup = (cellValue: IAVCellValue, wrap: boolean) => { let text = "" - if (["text", "template"].includes(cellValue.type)) { + if (["text"].includes(cellValue.type)) { text = cellValue ? (cellValue[cellValue.type as "text"].content || "") : ""; } else if (["url", "email", "phone"].includes(cellValue.type)) { const urlContent = cellValue ? cellValue[cellValue.type as "url"].content : ""; @@ -702,13 +702,6 @@ const renderRollup = (cellValue: IAVCellValue, wrap: boolean) => { if (text) { text = `${text}`; } - } else if (["created", "updated"].includes(cellValue.type)) { - const dataValue = cellValue ? cellValue[cellValue.type as "date"] : null; - text = ``; - if (dataValue && dataValue.isNotEmpty) { - text += dayjs(dataValue.content).format("YYYY-MM-DD HH:mm"); - } - text += ""; } else if (cellValue.type === "mAsset") { cellValue?.mAsset?.forEach((item) => { if (item.type === "image") {