diff options
author | enahum <nahumhbl@gmail.com> | 2016-09-20 13:00:21 -0300 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-09-20 12:00:21 -0400 |
commit | f8108efe35ec5b7d362cbb3890a7acdc8884b0f6 (patch) | |
tree | 6debff223d847cfb57c8046ba5e83063bdf6d55c /webapp/components | |
parent | e455bee39f2480782d350f156043141fb6bdab26 (diff) | |
download | chat-f8108efe35ec5b7d362cbb3890a7acdc8884b0f6.tar.gz chat-f8108efe35ec5b7d362cbb3890a7acdc8884b0f6.tar.bz2 chat-f8108efe35ec5b7d362cbb3890a7acdc8884b0f6.zip |
PLT-3338 Show username on Direct message search result (#4041)
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/search_results_item.jsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webapp/components/search_results_item.jsx b/webapp/components/search_results_item.jsx index 2260f99ad..5cc0b4c54 100644 --- a/webapp/components/search_results_item.jsx +++ b/webapp/components/search_results_item.jsx @@ -72,7 +72,10 @@ export default class SearchResultsItem extends React.Component { channelName = ( <FormattedMessage id='search_item.direct' - defaultMessage='Direct Message' + defaultMessage='Direct Message (with {username})' + values={{ + username: Utils.displayUsernameForUser(Utils.getDirectTeammate(channel.id)) + }} /> ); } |