Skip to content

Commit

Permalink
Fixed default value for strings
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Jun 28, 2021
1 parent 211b30b commit edb269b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions ui/src/app/metadata/domain/attribute/CustomAttributeDefinition.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@ export const CustomAttributeDefinition = {
}
}

if (attributeType === 'STRING') {
parsed = {
...parsed,
defaultValue: data.defaultValueString
}
}

return parsed;
},

Expand Down Expand Up @@ -112,13 +105,6 @@ export const CustomAttributeDefinition = {
}
}

if (attributeType === 'STRING') {
formatted = {
...formatted,
defaultValueString: formatted.defaultValue
}
}

return formatted;
}
}
Expand Down

0 comments on commit edb269b

Please sign in to comment.