mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
This commit is contained in:
parent
5115305c2d
commit
f44dc5406e
1 changed files with 1 additions and 1 deletions
|
|
@ -1188,7 +1188,7 @@ export const cellValueIsEmpty = (value: IAVCellValue) => {
|
|||
return !value[value.type as "text"]?.content;
|
||||
}
|
||||
if (["mSelect", "mAsset", "select"].includes(value.type)) {
|
||||
if (value[value.type as "mSelect"]?.length > 0) {
|
||||
if (value[(value.type === "select" ? "mSelect" : value.type) as "mSelect"]?.length > 0) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue