mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-09 10:18:50 +01:00
♻️ Refactor database table view
This commit is contained in:
parent
08a8d8e8c1
commit
e9ef0611cd
3 changed files with 475 additions and 449 deletions
|
|
@ -317,7 +317,7 @@ func renderTemplate(p, id string, preview bool) (string, error) {
|
|||
if nil != parseErr {
|
||||
logging.LogErrorf("parse attribute view [%s] failed: %s", n.AttributeViewID, parseErr)
|
||||
} else {
|
||||
cloned := av.ShallowCloneAttributeView(attrView)
|
||||
cloned := attrView.ShallowClone()
|
||||
if nil != cloned {
|
||||
n.AttributeViewID = cloned.ID
|
||||
if !preview {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue