Skip to content
Snippets Groups Projects
Commit 29103237 authored by Lucas Eduardo Schoenfelder's avatar Lucas Eduardo Schoenfelder
Browse files

fix redirect to home error; should correctly redirect to the appropriate collection page

parent ab44c716
Branches homologa_fix_bug_36
Tags
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!39Update admin system,!32Homologa
......@@ -164,6 +164,8 @@ class ReqCollections extends Component {
description={card.description}
thumbnails={card.items_thumbnails}
avatar={card.owner.avatar}
id={card.id}
/>
</Col>
))}
......@@ -178,6 +180,8 @@ class ReqCollections extends Component {
description={card.description}
thumbnails={card.items_thumbnails}
avatar={card.owner.avatar}
id={card.id}
/>
</Col>
))}
......@@ -192,6 +196,8 @@ class ReqCollections extends Component {
description={card.description}
thumbnails={card.items_thumbnails}
avatar={card.owner.avatar}
id={card.id}
/>
</Col>
))}
......
......@@ -120,12 +120,12 @@ export default function CollectionCardFunction (props) {
<Header onMouseEnter={controlSlide} onMouseLeave={controlSlide}>
{/*slide animation and content*/}
<Slide direction="right" in={slideIn} timeout={300}>
<a href="" className="text">
<a href={"/colecao-do-usuario/" + props.id} className="text">
{SlideAnimationContent()}
</a>
</Slide>
<Slide direction="left" in={!slideIn} timeout={700}>
<a href=""> {/*add links to collection later*/}
<a href={"/colecao-do-usuario/" + props.id}>
<UserInfo>
<AvatarDiv>
......
......@@ -49,6 +49,7 @@ export default function LastCols (props) {
liked={card.liked}
followed={card.followed}
tags={card.tags}
id={card.id}
/>
</Grid>
)
......
......@@ -45,6 +45,7 @@ export default function TabRecursos (props) {
liked={card.liked}
followed={card.followed}
tags={card.tags}
id={card.id}
/>
</Grid>
)
......
......@@ -248,6 +248,7 @@ export default function Search(props) {
description={card.description}
thumbnails={card.items_thumbnails}
avatar={card.owner.avatar}
id={card.id}
/>
</Grid>
))}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment