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
bbda370d
Unverified
Commit
bbda370d
authored
Dec 12, 2018
by
Paul Kaplan
Committed by
GitHub
Dec 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2445 from paulkaplan/fix-preview-remix-list
Fix hard-coded /preview/id url for remix list.
parents
bbb8c67e
bc99c52e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/components/thumbnailcolumn/thumbnailcolumn.jsx
src/components/thumbnailcolumn/thumbnailcolumn.jsx
+1
-1
src/views/preview/remix-list.jsx
src/views/preview/remix-list.jsx
+1
-1
No files found.
src/components/thumbnailcolumn/thumbnailcolumn.jsx
View file @
bbda370d
...
@@ -12,7 +12,7 @@ const ThumbnailColumn = props => (
...
@@ -12,7 +12,7 @@ const ThumbnailColumn = props => (
<
FlexRow
className=
{
classNames
(
'
thumbnail-column
'
,
props
.
className
)
}
>
<
FlexRow
className=
{
classNames
(
'
thumbnail-column
'
,
props
.
className
)
}
>
{
props
.
items
.
map
((
item
,
key
)
=>
{
{
props
.
items
.
map
((
item
,
key
)
=>
{
const
href
=
`/${props.itemType}/${item.id}/`
;
const
href
=
`/${props.itemType}/${item.id}/`
;
if
(
props
.
itemType
===
'
pr
eview
'
)
{
if
(
props
.
itemType
===
'
pr
ojects
'
)
{
return
(
return
(
<
Thumbnail
<
Thumbnail
avatar=
{
thumbnailUrl
(
item
.
author
.
id
)
}
avatar=
{
thumbnailUrl
(
item
.
author
.
id
)
}
...
...
src/views/preview/remix-list.jsx
View file @
bbda370d
...
@@ -20,7 +20,7 @@ const RemixList = props => {
...
@@ -20,7 +20,7 @@ const RemixList = props => {
<
ThumbnailColumn
<
ThumbnailColumn
cards
cards
showAvatar
showAvatar
itemType=
"pr
eview
"
itemType=
"pr
ojects
"
items=
{
remixes
.
slice
(
0
,
5
)
}
items=
{
remixes
.
slice
(
0
,
5
)
}
showFavorites=
{
false
}
showFavorites=
{
false
}
showLoves=
{
false
}
showLoves=
{
false
}
...
...
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