PLT-6213 Move team store and actions over to use redux (#6222)
* Move team store and actions over to user redux * Fix JS error when inviting by email
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
1fef5bf5fe
Коммит
7307156c49
@@ -41,8 +41,8 @@ import NativeAppLinkSettings from 'components/admin_console/native_app_link_sett
|
||||
import ComplianceSettings from 'components/admin_console/compliance_settings.jsx';
|
||||
import RateSettings from 'components/admin_console/rate_settings.jsx';
|
||||
import DeveloperSettings from 'components/admin_console/developer_settings.jsx';
|
||||
import SystemUsers from 'components/admin_console/system_users/system_users.jsx';
|
||||
import TeamAnalytics from 'components/analytics/team_analytics.jsx';
|
||||
import SystemUsers from 'components/admin_console/system_users';
|
||||
import TeamAnalytics from 'components/analytics/team_analytics';
|
||||
import LicenseSettings from 'components/admin_console/license_settings.jsx';
|
||||
import Audits from 'components/admin_console/audits.jsx';
|
||||
import Logs from 'components/admin_console/logs.jsx';
|
||||
|
||||
@@ -149,7 +149,7 @@ export default {
|
||||
{
|
||||
path: 'select_team',
|
||||
getComponents: (location, callback) => {
|
||||
System.import('components/select_team/select_team.jsx').then(RouteUtils.importComponentSuccess(callback));
|
||||
System.import('components/select_team').then(RouteUtils.importComponentSuccess(callback));
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -174,7 +174,7 @@ export default {
|
||||
onEnter: onChannelEnter,
|
||||
getComponents: (location, callback) => {
|
||||
Promise.all([
|
||||
System.import('components/team_sidebar/team_sidebar_controller.jsx'),
|
||||
System.import('components/team_sidebar'),
|
||||
System.import('components/sidebar.jsx'),
|
||||
System.import('components/channel_view.jsx')
|
||||
]).then(
|
||||
@@ -187,7 +187,7 @@ export default {
|
||||
onEnter: onPermalinkEnter,
|
||||
getComponents: (location, callback) => {
|
||||
Promise.all([
|
||||
System.import('components/team_sidebar/team_sidebar_controller.jsx'),
|
||||
System.import('components/team_sidebar'),
|
||||
System.import('components/sidebar.jsx'),
|
||||
System.import('components/permalink_view.jsx')
|
||||
]).then(
|
||||
@@ -199,7 +199,7 @@ export default {
|
||||
path: 'tutorial',
|
||||
getComponents: (location, callback) => {
|
||||
Promise.all([
|
||||
System.import('components/team_sidebar/team_sidebar_controller.jsx'),
|
||||
System.import('components/team_sidebar'),
|
||||
System.import('components/sidebar.jsx'),
|
||||
System.import('components/tutorial/tutorial_view.jsx')
|
||||
]).then(
|
||||
|
||||
Ссылка в новой задаче
Block a user