diff options
Diffstat (limited to 'webapp/utils')
-rw-r--r-- | webapp/utils/async_client.jsx | 2 | ||||
-rw-r--r-- | webapp/utils/channel_intro_messages.jsx | 2 | ||||
-rw-r--r-- | webapp/utils/constants.jsx | 3 | ||||
-rw-r--r-- | webapp/utils/web_client.jsx | 2 |
4 files changed, 6 insertions, 3 deletions
diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx index 7ddf299f6..6f5f8a2cd 100644 --- a/webapp/utils/async_client.jsx +++ b/webapp/utils/async_client.jsx @@ -3,7 +3,7 @@ import $ from 'jquery'; import Client from './web_client.jsx'; -import * as GlobalActions from 'action_creators/global_actions.jsx'; +import * as GlobalActions from 'actions/global_actions.jsx'; import AppDispatcher from '../dispatcher/app_dispatcher.jsx'; import BrowserStore from 'stores/browser_store.jsx'; import ChannelStore from 'stores/channel_store.jsx'; diff --git a/webapp/utils/channel_intro_messages.jsx b/webapp/utils/channel_intro_messages.jsx index 1d18e26ba..c9dd30712 100644 --- a/webapp/utils/channel_intro_messages.jsx +++ b/webapp/utils/channel_intro_messages.jsx @@ -8,7 +8,7 @@ import ToggleModalButton from 'components/toggle_modal_button.jsx'; import UserProfile from 'components/user_profile.jsx'; import ChannelStore from 'stores/channel_store.jsx'; import Constants from 'utils/constants.jsx'; -import * as GlobalActions from 'action_creators/global_actions.jsx'; +import * as GlobalActions from 'actions/global_actions.jsx'; import Client from 'utils/web_client.jsx'; import React from 'react'; diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx index 2f99b81ea..e53701755 100644 --- a/webapp/utils/constants.jsx +++ b/webapp/utils/constants.jsx @@ -88,6 +88,7 @@ export default { RECEIVED_MSG: null, RECEIVED_MY_TEAM: null, + CREATED_TEAM: null, RECEIVED_CONFIG: null, RECEIVED_LOGS: null, @@ -723,6 +724,8 @@ export default { } }, OVERLAY_TIME_DELAY: 400, + MIN_TEAMNAME_LENGTH: 4, + MAX_TEAMNAME_LENGTH: 15, MIN_USERNAME_LENGTH: 3, MAX_USERNAME_LENGTH: 22, MIN_PASSWORD_LENGTH: 5, diff --git a/webapp/utils/web_client.jsx b/webapp/utils/web_client.jsx index f6e2d6ac5..b974ad31f 100644 --- a/webapp/utils/web_client.jsx +++ b/webapp/utils/web_client.jsx @@ -4,7 +4,7 @@ import Client from 'mattermost/client.jsx'; import TeamStore from '../stores/team_store.jsx'; import BrowserStore from '../stores/browser_store.jsx'; -import * as GlobalActions from 'action_creators/global_actions.jsx'; +import * as GlobalActions from 'actions/global_actions.jsx'; import request from 'superagent'; |