mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
⚡ Optimize rendering performance of databases containing relation fields https://github.com/siyuan-note/siyuan/issues/11249
This commit is contained in:
@@ -1647,7 +1647,7 @@ func updateAttributeViewColRelation(operation *Operation) (err error) {
|
||||
}
|
||||
|
||||
av.UpsertAvBackRel(srcAv.ID, destAv.ID)
|
||||
if operation.IsTwoWay {
|
||||
if operation.IsTwoWay && !isSameAv {
|
||||
av.UpsertAvBackRel(destAv.ID, srcAv.ID)
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user