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
bc99c52e
Commit
bc99c52e
authored
Dec 11, 2018
by
Paul Kaplan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix hard-coded /preview/id url for remix list.
parent
594ce06b
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 @
bc99c52e
...
...
@@ -12,7 +12,7 @@ const ThumbnailColumn = props => (
<
FlexRow
className=
{
classNames
(
'
thumbnail-column
'
,
props
.
className
)
}
>
{
props
.
items
.
map
((
item
,
key
)
=>
{
const
href
=
`/${props.itemType}/${item.id}/`
;
if
(
props
.
itemType
===
'
pr
eview
'
)
{
if
(
props
.
itemType
===
'
pr
ojects
'
)
{
return
(
<
Thumbnail
avatar=
{
thumbnailUrl
(
item
.
author
.
id
)
}
...
...
src/views/preview/remix-list.jsx
View file @
bc99c52e
...
...
@@ -20,7 +20,7 @@ const RemixList = props => {
<
ThumbnailColumn
cards
showAvatar
itemType=
"pr
eview
"
itemType=
"pr
ojects
"
items=
{
remixes
.
slice
(
0
,
5
)
}
showFavorites=
{
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