diff options
author | Wonderfall <wonderfall@targaryen.house> | 2017-04-26 14:54:12 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-04-26 14:54:12 +0200 |
commit | 234e931db28ce6a8f147bab5e1a05da9f8e68742 (patch) | |
tree | dbac8e7f34648d3724f935366b1239277bffb981 /app/assets/javascripts/components | |
parent | fdcb55a0a645e8b89d6b094c38a1571291174500 (diff) |
fix onboarding modal (#2477)
Diffstat (limited to 'app/assets/javascripts/components')
-rw-r--r-- | app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx | 7 |
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; |