mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🐛 Database table view sorts abnormally after deleting numeric values Fix https://github.com/siyuan-note/siyuan/issues/10476
This commit is contained in:
parent
3a5f222e36
commit
1635b4b8c2
1 changed files with 1 additions and 0 deletions
|
|
@ -2536,6 +2536,7 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
|
|||
if nil != val.Number && !val.Number.IsNotEmpty {
|
||||
// 删除内容为空值
|
||||
val.Number.Content = 0
|
||||
val.Number.FormattedContent = ""
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue