mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
⚡ Optimize rendering performance of databases containing relation fields https://github.com/siyuan-note/siyuan/issues/11249
This commit is contained in:
parent
002173044f
commit
2ee4533304
1 changed files with 1 additions and 1 deletions
|
|
@ -1647,7 +1647,7 @@ func updateAttributeViewColRelation(operation *Operation) (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
av.UpsertAvBackRel(srcAv.ID, destAv.ID)
|
av.UpsertAvBackRel(srcAv.ID, destAv.ID)
|
||||||
if operation.IsTwoWay {
|
if operation.IsTwoWay && !isSameAv {
|
||||||
av.UpsertAvBackRel(destAv.ID, srcAv.ID)
|
av.UpsertAvBackRel(destAv.ID, srcAv.ID)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue