Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
3e7bb349
Commit
3e7bb349
authored
Jan 09, 2018
by
Matthew Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
match props to rows, rather than object
this was not detecting row updates well on re-render
parent
797afb6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
src/views/splash/splash.jsx
src/views/splash/splash.jsx
+10
-10
No files found.
src/views/splash/splash.jsx
View file @
3e7bb349
...
@@ -160,12 +160,12 @@ var Splash = injectIntl(React.createClass({
...
@@ -160,12 +160,12 @@ var Splash = injectIntl(React.createClass({
hideEmailConfirmationModal=
{
this
.
hideEmailConfirmationModal
}
hideEmailConfirmationModal=
{
this
.
hideEmailConfirmationModal
}
shouldShowWelcome=
{
showWelcome
}
shouldShowWelcome=
{
showWelcome
}
projectCount=
{
this
.
state
.
projectCount
}
projectCount=
{
this
.
state
.
projectCount
}
activity=
{
this
.
props
.
activity
.
rows
}
activity=
{
this
.
props
.
activity
}
news=
{
this
.
state
.
news
}
news=
{
this
.
state
.
news
}
sharedByFollowing=
{
this
.
props
.
shared
.
rows
}
sharedByFollowing=
{
this
.
props
.
shared
}
lovedByFollowing=
{
this
.
props
.
loved
.
rows
}
lovedByFollowing=
{
this
.
props
.
loved
}
inStudiosFollowing=
{
this
.
props
.
studios
.
rows
}
inStudiosFollowing=
{
this
.
props
.
studios
}
featuredGlobal=
{
this
.
props
.
featured
.
rows
}
featuredGlobal=
{
this
.
props
.
featured
}
refreshCacheStatus=
{
homepageRefreshStatus
}
refreshCacheStatus=
{
homepageRefreshStatus
}
/>
/>
);
);
...
@@ -179,11 +179,11 @@ var mapStateToProps = function (state) {
...
@@ -179,11 +179,11 @@ var mapStateToProps = function (state) {
flags
:
state
.
session
.
session
.
flags
,
flags
:
state
.
session
.
session
.
flags
,
isEducator
:
state
.
permissions
.
educator
,
isEducator
:
state
.
permissions
.
educator
,
isAdmin
:
state
.
permissions
.
admin
,
isAdmin
:
state
.
permissions
.
admin
,
activity
:
state
.
splash
.
activity
,
activity
:
state
.
splash
.
activity
.
rows
,
featured
:
state
.
splash
.
featured
,
featured
:
state
.
splash
.
featured
.
rows
,
shared
:
state
.
splash
.
shared
,
shared
:
state
.
splash
.
shared
.
rows
,
loved
:
state
.
splash
.
loved
,
loved
:
state
.
splash
.
loved
.
rows
,
studios
:
state
.
splash
.
studios
studios
:
state
.
splash
.
studios
.
rows
};
};
};
};
...
...
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