mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 20:08:49 +01:00
This commit is contained in:
parent
0936ef7065
commit
d4400a9124
1 changed files with 2 additions and 1 deletions
|
|
@ -1007,8 +1007,9 @@ export const renderCell = (cellValue: IAVCellValue, rowIndex = 0, showIcon = tru
|
|||
}
|
||||
}
|
||||
|
||||
if ((["text", "template", "url", "email", "phone", "number", "date", "created", "updated"].includes(cellValue.type) && cellValue[cellValue.type as "url"]?.content) ||
|
||||
if ((["text", "template", "url", "email", "phone", "date", "created", "updated"].includes(cellValue.type) && cellValue[cellValue.type as "url"]?.content) ||
|
||||
cellValue.type === "lineNumber" ||
|
||||
(cellValue.type === "number" && cellValue.number?.isNotEmpty) ||
|
||||
(cellValue.type === "block" && cellValue.block?.content)) {
|
||||
text += `<span ${cellValue.type !== "number" ? "" : 'style="right:auto;left:5px"'} data-type="copy" class="block__icon"><svg><use xlink:href="#iconCopy"></use></svg></span>`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue