mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🎨 Improve adding rows of the filtered database table view https://github.com/siyuan-note/siyuan/issues/10025
This commit is contained in:
parent
0f8a93d03b
commit
dba46ead4a
1 changed files with 1 additions and 1 deletions
|
|
@ -901,7 +901,7 @@ func updateAttributeViewColRollup(operation *Operation) (err error) {
|
||||||
KeyID: operation.KeyID,
|
KeyID: operation.KeyID,
|
||||||
}
|
}
|
||||||
|
|
||||||
if nil != operation.Data {
|
if nil != operation.Data && "" != operation.Data.(string) {
|
||||||
data := operation.Data.(map[string]interface{})
|
data := operation.Data.(map[string]interface{})
|
||||||
if nil != data["calc"] {
|
if nil != data["calc"] {
|
||||||
calcData, jsonErr := gulu.JSON.MarshalJSON(data["calc"])
|
calcData, jsonErr := gulu.JSON.MarshalJSON(data["calc"])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue