Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
mamot
Commits
234e931d
Commit
234e931d
authored
Apr 26, 2017
by
Wonderfall
Committed by
Eugen Rochko
Apr 26, 2017
Browse files
fix onboarding modal (#2477)
parent
fdcb55a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx
View file @
234e931d
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment