From 0ac9e9d9a755658740d49de84387bd11b626fba1 Mon Sep 17 00:00:00 2001 From: Pat Lathem Date: Wed, 13 Jan 2016 14:32:02 -0600 Subject: Show correct channel URL in channel info modal --- web/react/components/channel_info_modal.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/react/components/channel_info_modal.jsx b/web/react/components/channel_info_modal.jsx index 109dcb129..72c7c3daa 100644 --- a/web/react/components/channel_info_modal.jsx +++ b/web/react/components/channel_info_modal.jsx @@ -1,6 +1,7 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. +import * as Utils from '../utils/utils.jsx'; const Modal = ReactBootstrap.Modal; export default class ChannelInfoModal extends React.Component { @@ -15,6 +16,8 @@ export default class ChannelInfoModal extends React.Component { }; } + const channelURL = Utils.getShortenedTeamURL() + channel.name; + return (
{'Channel URL:'}
-
{channel.name}
+
{channelURL}
{'Channel ID:'}
-- cgit v1.2.3-1-g7c22