🎨 Supports multiple views for the database https://github.com/siyuan-note/siyuan/issues/9751
This commit is contained in:
parent
134d893167
commit
99c9ab12f1
1 changed files with 1 additions and 1 deletions
|
@ -1486,7 +1486,7 @@ func updateAttributeViewColumn(operation *Operation) (err error) {
|
|||
case av.KeyTypeBlock, av.KeyTypeText, av.KeyTypeNumber, av.KeyTypeDate, av.KeyTypeSelect, av.KeyTypeMSelect, av.KeyTypeURL, av.KeyTypeEmail, av.KeyTypePhone, av.KeyTypeMAsset, av.KeyTypeTemplate, av.KeyTypeCreated, av.KeyTypeUpdated, av.KeyTypeCheckbox:
|
||||
for _, keyValues := range attrView.KeyValues {
|
||||
if keyValues.Key.ID == operation.ID {
|
||||
keyValues.Key.Name = operation.Name
|
||||
keyValues.Key.Name = strings.TrimSpace(operation.Name)
|
||||
keyValues.Key.Type = colType
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue