mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
🎨 Rows in the database without bound blocks should not show created and updated Fix https://github.com/siyuan-note/siyuan/issues/9391
This commit is contained in:
parent
7aa4aacfc3
commit
7e9243d8dc
3 changed files with 6 additions and 4 deletions
|
|
@ -107,7 +107,7 @@ style="width: ${column.width || "200px"}">${getCalcValue(column) || '<svg><use x
|
|||
} else if (["created", "updated"].includes(cell.valueType)) {
|
||||
text = '<span class="av__celltext av__celltext--date">';
|
||||
const dataValue = cell.value ? cell.value[cell.valueType as "date"] : null;
|
||||
if (dataValue && dataValue.content) {
|
||||
if (dataValue && dataValue.isNotEmpty) {
|
||||
text += dayjs(dataValue.content).format("YYYY-MM-DD HH:mm");
|
||||
}
|
||||
text += "</span>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue