From 8025ff8353dcbc4809c25deec815e763860c3abb Mon Sep 17 00:00:00 2001 From: Maximilian Weber Date: Wed, 13 Mar 2024 11:31:16 +0100 Subject: [PATCH] chore(app): reorder person responsible by (firstname, lastname) --- src/components/ProposalMeta.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/ProposalMeta.tsx b/src/components/ProposalMeta.tsx index 4fe8526..d1ff1ad 100644 --- a/src/components/ProposalMeta.tsx +++ b/src/components/ProposalMeta.tsx @@ -85,7 +85,12 @@ export default function ProposalMeta({ proposalDetails }: ProposalMetaProps) { proposalDetails.supervisedBy[0].responsible && (
Person Responsible
-
{proposalDetails.supervisedBy[0].responsible.name}
+
+ {proposalDetails.supervisedBy[0].responsible.name + .split(' ') + .reverse() + .join(' ')} +
)}