🎨 Improve database attribute panel number field formating https://github.com/siyuan-note/siyuan/issues/12491
This commit is contained in:
parent
bb0889cbc5
commit
539c96a587
1 changed files with 1 additions and 0 deletions
|
@ -3051,6 +3051,7 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
|
|||
val.Number.Content = 0
|
||||
val.Number.FormattedContent = ""
|
||||
}
|
||||
val.Number.FormatNumber()
|
||||
} else if av.KeyTypeDate == val.Type {
|
||||
if nil != val.Date && !val.Date.IsNotEmpty {
|
||||
val.Date.Content = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue