about summary refs log tree commit diff
path: root/app/assets/javascripts/components
diff options
context:
space:
mode:
authorWonderfall <wonderfall@targaryen.house>2017-04-26 14:54:12 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-04-26 14:54:12 +0200
commit234e931db28ce6a8f147bab5e1a05da9f8e68742 (patch)
treedbac8e7f34648d3724f935366b1239277bffb981 /app/assets/javascripts/components
parentfdcb55a0a645e8b89d6b094c38a1571291174500 (diff)
fix onboarding modal (#2477)
Diffstat (limited to 'app/assets/javascripts/components')
-rw-r--r--app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx b/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx
index e39eaf8de..27becc6de 100644
--- a/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx
+++ b/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx
@@ -123,7 +123,7 @@ PageFour.propTypes = {
   intl: PropTypes.object.isRequired
 };
 
-const PageSix = ({ admin }) => {
+const PageSix = ({ admin, domain }) => {
   let adminSection = '';
 
   if (admin) {
@@ -148,7 +148,8 @@ const PageSix = ({ admin }) => {
 };
 
 PageSix.propTypes = {
-  admin: ImmutablePropTypes.map
+  admin: ImmutablePropTypes.map,
+  domain: PropTypes.string.isRequired
 };
 
 const mapStateToProps = state => ({
@@ -197,7 +198,7 @@ class OnboardingModal extends React.PureComponent {
       <PageTwo />,
       <PageThree me={me} domain={domain} />,
       <PageFour domain={domain} intl={intl} />,
-      <PageSix admin={admin} />
+      <PageSix admin={admin} domain={domain} />
     ];
 
     const { currentIndex } = this.state;