♻️ Refactor database table view

This commit is contained in:
Daniel 2023-12-15 12:02:27 +08:00
parent 08a8d8e8c1
commit e9ef0611cd
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 475 additions and 449 deletions

View file

@ -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 {