diff options
author | 94117nl <rttededersixtwo@gmail.com> | 2017-06-28 09:38:57 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-06-28 07:38:57 -0700 |
commit | 28e0b8dc27e71c4b383f49db3be2a31088924bf1 (patch) | |
tree | 440d4cda57b44f2b7e9ce3550601f52544f718e0 /webapp/routes/route_integrations.jsx | |
parent | 005dd0754ba6dec00d8e4a84a297d0f35fbefb2b (diff) | |
download | chat-28e0b8dc27e71c4b383f49db3be2a31088924bf1.tar.gz chat-28e0b8dc27e71c4b383f49db3be2a31088924bf1.tar.bz2 chat-28e0b8dc27e71c4b383f49db3be2a31088924bf1.zip |
PLT-6456 Migrate installed_commands.jsx to be pure and use Redux (#6759)
* Add documentation to props, migrate to pure component
* Migrate commands_container and installed_commands to redux
* Partially move confirm_integration to redux
* Add more props to commands_container
* Fix identation issue
* Remove unused import
* Update command token to reference redux store
Diffstat (limited to 'webapp/routes/route_integrations.jsx')
-rw-r--r-- | webapp/routes/route_integrations.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webapp/routes/route_integrations.jsx b/webapp/routes/route_integrations.jsx index cf59882dd..c7c7497b8 100644 --- a/webapp/routes/route_integrations.jsx +++ b/webapp/routes/route_integrations.jsx @@ -61,14 +61,14 @@ export default { { path: 'commands', getComponents: (location, callback) => { - System.import('components/integrations/components/commands_container.jsx').then(RouteUtils.importComponentSuccess(callback)); + System.import('components/integrations/components/commands_container').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)); + System.import('components/integrations/components/installed_commands').then(RouteUtils.importComponentSuccess(callback)); } }, { @@ -86,7 +86,7 @@ export default { { path: 'confirm', getComponents: (location, callback) => { - System.import('components/integrations/components/confirm_integration.jsx').then(RouteUtils.importComponentSuccess(callback)); + System.import('components/integrations/components/confirm_integration').then(RouteUtils.importComponentSuccess(callback)); } } ] @@ -110,7 +110,7 @@ export default { { path: 'confirm', getComponents: (location, callback) => { - System.import('components/integrations/components/confirm_integration.jsx').then(RouteUtils.importComponentSuccess(callback)); + System.import('components/integrations/components/confirm_integration').then(RouteUtils.importComponentSuccess(callback)); } } ] |