From c4a39b4af043bbae60367d6ea84cae8c87e44054 Mon Sep 17 00:00:00 2001 From: Will Piers Date: Thu, 29 Sep 2016 16:47:20 -0700 Subject: [PATCH] Fix connection point for source creation --- ui/src/select_source/containers/SelectSourcePage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/select_source/containers/SelectSourcePage.js b/ui/src/select_source/containers/SelectSourcePage.js index 6bb56c2ff2..2946ac352e 100644 --- a/ui/src/select_source/containers/SelectSourcePage.js +++ b/ui/src/select_source/containers/SelectSourcePage.js @@ -43,8 +43,8 @@ export const SelectSourcePage = React.createClass({ username: this.sourceUser.value, password: this.sourcePassword.value, }; - createSource(source).then(() => { - // this.redirectToApp(sourceFromServer) + createSource(source).then(({data: sourceFromServer}) => { + this.redirectToApp(sourceFromServer); }); },