Fixing store access design issues (#4436)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
fa5fc044f3
Коммит
e6f8f44f58
@@ -48,17 +48,28 @@ export default {
|
||||
},
|
||||
{
|
||||
path: 'commands',
|
||||
indexRoute: {
|
||||
getComponents: (location, callback) => {
|
||||
System.import('components/integrations/components/installed_commands.jsx').then(RouteUtils.importComponentSuccess(callback));
|
||||
}
|
||||
getComponents: (location, callback) => {
|
||||
System.import('components/integrations/components/commands_container.jsx').then(RouteUtils.importComponentSuccess(callback));
|
||||
},
|
||||
indexRoute: {onEnter: (nextState, replace) => replace(nextState.location.pathname + '/installed')},
|
||||
childRoutes: [
|
||||
{
|
||||
path: 'installed',
|
||||
getComponents: (location, callback) => {
|
||||
System.import('components/integrations/components/installed_commands.jsx').then(RouteUtils.importComponentSuccess(callback));
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'add',
|
||||
getComponents: (location, callback) => {
|
||||
System.import('components/integrations/components/add_command.jsx').then(RouteUtils.importComponentSuccess(callback));
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'confirm',
|
||||
getComponents: (location, callback) => {
|
||||
System.import('components/integrations/components/confirm_integration.jsx').then(RouteUtils.importComponentSuccess(callback));
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Ссылка в новой задаче
Block a user