From 8cab9eb81d52775d47cb32b434acc94ac58db174 Mon Sep 17 00:00:00 2001 From: m8nli9ht Date: Sat, 30 Sep 2023 16:38:58 +0200 Subject: [PATCH] #56 --- src/components/document.description.contributor.component.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/document.description.contributor.component.js b/src/components/document.description.contributor.component.js index 6b2fbd8..8b29c75 100644 --- a/src/components/document.description.contributor.component.js +++ b/src/components/document.description.contributor.component.js @@ -53,13 +53,14 @@ class Contributor extends Component { render() { return( + {this.props.contributor.type.charAt(0).toUpperCase()}} - label={this.props.contributor.firstName + " " + this.props.contributor.lastName} + label={this.props.contributor.type + " : " + this.props.contributor.firstName + " " + this.props.contributor.lastName} onDelete={this.handleDelete} color="primary" variant="outlined" /> + ); } }