diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2015-11-20 09:22:16 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2015-11-20 09:22:16 -0500 |
commit | 25bc02c785167370b0e2e04ee04f305a801078c4 (patch) | |
tree | 00a8e7c9821fc8d8669fd7a908b3f70e3089c95a /web/react/utils/channel_intro_mssages.jsx | |
parent | 3aea449b524f7bbc9bae92309fb702e04c1bf01e (diff) | |
parent | 34097faa13dab6ea5d7ac992842126c17ad4d2b9 (diff) | |
download | chat-25bc02c785167370b0e2e04ee04f305a801078c4.tar.gz chat-25bc02c785167370b0e2e04ee04f305a801078c4.tar.bz2 chat-25bc02c785167370b0e2e04ee04f305a801078c4.zip |
Merge pull request #1478 from mattermost/plt-1237
PLT-1237 Upgrading dependancies
Diffstat (limited to 'web/react/utils/channel_intro_mssages.jsx')
-rw-r--r-- | web/react/utils/channel_intro_mssages.jsx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/web/react/utils/channel_intro_mssages.jsx b/web/react/utils/channel_intro_mssages.jsx index 28a458e3f..aef1593dc 100644 --- a/web/react/utils/channel_intro_mssages.jsx +++ b/web/react/utils/channel_intro_mssages.jsx @@ -2,12 +2,12 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. -const Utils = require('./utils.jsx'); -const InviteMemberModal = require('../components/invite_member_modal.jsx'); -const UserProfile = require('../components/user_profile.jsx'); -const ChannelStore = require('../stores/channel_store.jsx'); -const Constants = require('../utils/constants.jsx'); -const TeamStore = require('../stores/team_store.jsx'); +import * as Utils from './utils.jsx'; +import InviteMemberModal from '../components/invite_member_modal.jsx'; +import UserProfile from '../components/user_profile.jsx'; +import ChannelStore from '../stores/channel_store.jsx'; +import Constants from '../utils/constants.jsx'; +import TeamStore from '../stores/team_store.jsx'; export function createChannelIntroMessage(channel, showInviteModal) { if (channel.type === 'D') { @@ -71,7 +71,7 @@ export function createDMIntroMessage(channel) { ); } -export function createOffTopicIntroMessage(channel, showInviteModal) { +export function createOffTopicIntroMessage(channel, showInviteModal) { //eslint-disable-line react/no-multi-comp return ( <div className='channel-intro'> <h4 className='channel-intro__title'>{'Beginning of ' + channel.display_name}</h4> @@ -101,7 +101,7 @@ export function createOffTopicIntroMessage(channel, showInviteModal) { ); } -export function createDefaultIntroMessage(channel) { +export function createDefaultIntroMessage(channel) { //eslint-disable-line react/no-multi-comp const team = TeamStore.getCurrent(); let inviteModalLink; if (team.type === Constants.INVITE_TEAM) { @@ -154,7 +154,7 @@ export function createDefaultIntroMessage(channel) { ); } -export function createStandardIntroMessage(channel, showInviteModal) { +export function createStandardIntroMessage(channel, showInviteModal) { //eslint-disable-line react/no-multi-comp var uiName = channel.display_name; var creatorName = ''; |