From 05587d789ac817ddeb9e31cc873eb16add862f71 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Wed, 31 Jan 2018 11:47:13 -0500 Subject: [PATCH] ICU-633 Added tilde to channel shortlink to match web app (#1391) --- app/components/channel_link/channel_link.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/channel_link/channel_link.js b/app/components/channel_link/channel_link.js index 3a346601e..7407f3411 100644 --- a/app/components/channel_link/channel_link.js +++ b/app/components/channel_link/channel_link.js @@ -63,7 +63,7 @@ export default class ChannelLink extends React.PureComponent { const channel = this.state.channel; if (!channel) { - return {'~' + this.props.channelName}; + return {`~${this.props.channelName}`}; } const suffix = this.props.channelName.substring(channel.name.length); @@ -74,7 +74,7 @@ export default class ChannelLink extends React.PureComponent { style={this.props.linkStyle} onPress={this.handlePress} > - {channel.display_name} + {`~${channel.display_name}`} {suffix}