🎨 Rows non-bound in the database support Add to Database
https://github.com/siyuan-note/siyuan/issues/11093
This commit is contained in:
parent
895ebccc9f
commit
8eaf0ea411
1 changed files with 4 additions and 1 deletions
|
@ -2198,7 +2198,10 @@ func AddAttributeViewBlock(tx *Transaction, srcs []map[string]interface{}, avID,
|
|||
}
|
||||
}
|
||||
|
||||
srcContent := src["content"].(string)
|
||||
var srcContent string
|
||||
if nil != src["content"] {
|
||||
srcContent = src["content"].(string)
|
||||
}
|
||||
if avErr := addAttributeViewBlock(avID, blockID, previousBlockID, srcID, srcContent, isDetached, ignoreFillFilter, tree, tx); nil != avErr {
|
||||
return avErr
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue