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

cleaning up

parent 7108d8ec
No related branches found
No related tags found
3 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!24Tela recurso
...@@ -79,7 +79,6 @@ export default function LearningObjectPage (props){ ...@@ -79,7 +79,6 @@ export default function LearningObjectPage (props){
) )
: :
( (
[
<Grid container spacing={2}> <Grid container spacing={2}>
<Grid item xs={12}> <Grid item xs={12}>
<Card> <Card>
...@@ -111,9 +110,10 @@ export default function LearningObjectPage (props){ ...@@ -111,9 +110,10 @@ export default function LearningObjectPage (props){
recursoId={id} recursoId={id}
downloadableLink = {recurso.default_attachment_location} downloadableLink = {recurso.default_attachment_location}
handleSnackbar={handleSnackbar} handleSnackbar={handleSnackbar}
link={recurso.link}
title={recurso.name} title={recurso.name}
thumb={recurso.thumbnail} thumb={recurso.thumbnail}
link={window.location.href} currPageLink={window.location.href}
handleSnackbar={handleSnackbar} handleSnackbar={handleSnackbar}
/> />
</Card> </Card>
...@@ -122,7 +122,6 @@ export default function LearningObjectPage (props){ ...@@ -122,7 +122,6 @@ export default function LearningObjectPage (props){
<Grid item xs={12}> <Grid item xs={12}>
<Card> <Card>
{/*add option to MoreVertIcon*/} {/*add option to MoreVertIcon*/}
{/*change file size display*/}
{/*change render method on additional item info*/} {/*change render method on additional item info*/}
<Sobre <Sobre
avatar={recurso.publisher.avatar ? (apiDomain + recurso.publisher.avatar) : noAvatar} avatar={recurso.publisher.avatar ? (apiDomain + recurso.publisher.avatar) : noAvatar}
...@@ -141,18 +140,19 @@ export default function LearningObjectPage (props){ ...@@ -141,18 +140,19 @@ export default function LearningObjectPage (props){
</Card> </Card>
</Grid> </Grid>
<Grid item xs={12}> <Grid item xs={12}>
<Card> <Card>
{/*adicionar funcionalidade ao botao de entrar*/} {/*adicionar funcionalidade ao botao de entrar*/}
<CommentsArea <CommentsArea
recursoId = {id} recursoId = {id}
handleSnackbar={handleSnackbar} handleSnackbar={handleSnackbar}
objType={recurso.object_type}
/> />
</Card> </Card>
</Grid> </Grid>
</Grid> </Grid>
]
) )
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment