Skip to content

Commit

Permalink
#1391 Next UI predefined validation stamps - added data type name
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed Jan 27, 2025
1 parent 95909f5 commit fbd4550
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default function PredefinedValidationStampsTable({reloadState}) {
dataType {
descriptor {
id
displayName
}
config
}
Expand Down Expand Up @@ -84,8 +85,10 @@ export default function PredefinedValidationStampsTable({reloadState}) {
render={(_, record) =>
<>
{
record.dataType &&
<ValidationDataType dataType={record.dataType}/>
record.dataType && <Space direction="vertical">
<Typography.Text strong>{record.dataType.descriptor.displayName}</Typography.Text>
<ValidationDataType dataType={record.dataType}/>
</Space>
}
{
!record.dataType &&
Expand Down

0 comments on commit fbd4550

Please sign in to comment.