aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/react/components')
-rw-r--r--src/client/react/components/presentational/Result.js9
1 files changed, 8 insertions, 1 deletions
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 {
<div className="search__icon-wrapper">
<IconFromUserType userType={users.byId[this.props.userId].type} />
</div>
- <div className="search__result__text">{users.byId[this.props.userId].value}</div>
+ <div className="search__result__text">
+ {users.byId[this.props.userId].value}
+ {users.byId[this.props.userId].alt &&
+ <span className="search__result__text__alt">
+ {` ${users.byId[this.props.userId].alt}`}
+ </span>
+ }
+ </div>
</div>
);
}