🎨 Add Relation column to database table view https://github.com/siyuan-note/siyuan/issues/9888
This commit is contained in:
parent
318156f25d
commit
8e4ce81648
1 changed files with 7 additions and 0 deletions
|
@ -947,6 +947,13 @@ func updateAttributeViewColRelation(operation *Operation) (err error) {
|
|||
BackKeyID: operation.KeyID,
|
||||
}
|
||||
destAdded = true
|
||||
if operation.IsTwoWay {
|
||||
name := strings.TrimSpace(operation.Name)
|
||||
if "" == name {
|
||||
name = srcAv.Name
|
||||
}
|
||||
backRelKey.Name = name
|
||||
}
|
||||
}
|
||||
|
||||
if !destAdded {
|
||||
|
|
Loading…
Add table
Reference in a new issue