mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 19:56:10 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
19485ca720
1 changed files with 6 additions and 2 deletions
|
|
@ -4419,10 +4419,14 @@ func updateAttributeViewValue(tx *Transaction, attrView *av.AttributeView, keyID
|
|||
|
||||
func regenAttrViewViewGroups(attrView *av.AttributeView, keyID string) {
|
||||
for _, view := range attrView.Views {
|
||||
if nil != view.Group && view.Group.Field == keyID {
|
||||
if nil != view.Group {
|
||||
groupKey, _ := attrView.GetKey(view.Group.Field)
|
||||
if nil == groupKey {
|
||||
return
|
||||
continue
|
||||
}
|
||||
|
||||
if av.KeyTypeTemplate != groupKey.Type && view.Group.Field != keyID {
|
||||
continue
|
||||
}
|
||||
|
||||
genAttrViewViewGroups(view, attrView)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue