🎨 Improve adding rows of the filtered database table view https://github.com/siyuan-note/siyuan/issues/10025

This commit is contained in:
Daniel 2023-12-30 17:39:00 +08:00
parent 0f8a93d03b
commit dba46ead4a
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -901,7 +901,7 @@ func updateAttributeViewColRollup(operation *Operation) (err error) {
KeyID: operation.KeyID,
}
if nil != operation.Data {
if nil != operation.Data && "" != operation.Data.(string) {
data := operation.Data.(map[string]interface{})
if nil != data["calc"] {
calcData, jsonErr := gulu.JSON.MarshalJSON(data["calc"])