From 1c0f18f626ac63bb3cae994a0cd57f3607ad7b53 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 27 Jun 2025 11:56:52 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15153 --- app/src/protyle/render/av/cell.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index 6824c9e41..d32921a87 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -1184,9 +1184,12 @@ export const cellValueIsEmpty = (value: IAVCellValue) => { if (value.type === "checkbox") { return false; } - if (["text", "number", "block", "url", "phone", "email", "template"].includes(value.type)) { + if (["text", "block", "url", "phone", "email", "template"].includes(value.type)) { return !value[value.type as "text"]?.content; } + if (value.type === "number") { + return !value.number?.isNotEmpty; + } if (["mSelect", "mAsset", "select"].includes(value.type)) { if (value[(value.type === "select" ? "mSelect" : value.type) as "mSelect"]?.length > 0) { return false;