This commit is contained in:
Daniel 2023-10-06 10:17:52 +08:00
parent 8db022ec8a
commit a3ea6a2362
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 4 additions and 3 deletions

View file

@ -903,7 +903,7 @@ func addAttributeViewColumn(operation *Operation) (err error) {
keyType := av.KeyType(operation.Typ)
switch keyType {
case av.KeyTypeText, av.KeyTypeNumber, av.KeyTypeDate, av.KeyTypeSelect, av.KeyTypeMSelect, av.KeyTypeURL, av.KeyTypeEmail, av.KeyTypePhone, av.KeyTypeMAsset, av.KeyTypeTemplate:
key := av.NewKey(operation.ID, operation.Name, keyType)
key := av.NewKey(operation.ID, operation.Name, operation.Data.(string), keyType)
attrView.KeyValues = append(attrView.KeyValues, &av.KeyValues{Key: key})
switch view.LayoutType {