🎨 Update text

This commit is contained in:
Daniel 2023-07-31 11:38:53 +08:00
parent 4478829b33
commit 310a583f68
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -103,6 +103,14 @@ func RenderAttributeView(avID, nodeID string) (viewable av.Viewable, attrView *a
return
}
if "" == attrView.NodeID {
attrView.NodeID = nodeID
if err = av.SaveAttributeView(attrView); nil != err {
logging.LogErrorf("save attribute view [%s] failed: %s", avID, err)
return
}
}
if 1 > len(attrView.Views) {
err = av.ErrViewNotFound
return