🎨 Improve database auto-fill value when enabling filter https://github.com/siyuan-note/siyuan/issues/11297

This commit is contained in:
Daniel
2024-05-08 10:04:22 +08:00
parent 1f028919df
commit e18e92fb30

View File

@@ -2897,6 +2897,11 @@ func updateAttributeViewColumn(operation *Operation) (err error) {
if keyValues.Key.ID == operation.ID {
keyValues.Key.Name = strings.TrimSpace(operation.Name)
keyValues.Key.Type = colType
for _, value := range keyValues.Values {
value.Type = colType
}
break
}
}