From 065c798078586b98f974c4f8ee2d1a7af1ad9218 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 16 Feb 2018 22:10:33 +0100 Subject: Add client support for alts --- src/client/react/components/presentational/Result.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/client/react/components/presentational') diff --git a/src/client/react/components/presentational/Result.js b/src/client/react/components/presentational/Result.js index a30cf52..83c6709 100644 --- a/src/client/react/components/presentational/Result.js +++ b/src/client/react/components/presentational/Result.js @@ -24,7 +24,14 @@ class Result extends React.Component {
-
{users.byId[this.props.userId].value}
+
+ {users.byId[this.props.userId].value} + {users.byId[this.props.userId].alt && + + {` ${users.byId[this.props.userId].alt}`} + + } +
); } -- cgit v1.1