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

cleaning up

parent 7108d8ec
Branches
Tags
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){
)
:
(
[
<Grid container spacing={2}>
<Grid item xs={12}>
<Card>
......@@ -111,9 +110,10 @@ export default function LearningObjectPage (props){
recursoId={id}
downloadableLink = {recurso.default_attachment_location}
handleSnackbar={handleSnackbar}
link={recurso.link}
title={recurso.name}
thumb={recurso.thumbnail}
link={window.location.href}
currPageLink={window.location.href}
handleSnackbar={handleSnackbar}
/>
</Card>
......@@ -122,7 +122,6 @@ export default function LearningObjectPage (props){
<Grid item xs={12}>
<Card>
{/*add option to MoreVertIcon*/}
{/*change file size display*/}
{/*change render method on additional item info*/}
<Sobre
avatar={recurso.publisher.avatar ? (apiDomain + recurso.publisher.avatar) : noAvatar}
......@@ -141,18 +140,19 @@ export default function LearningObjectPage (props){
</Card>
</Grid>
<Grid item xs={12}>
<Card>
{/*adicionar funcionalidade ao botao de entrar*/}
<CommentsArea
recursoId = {id}
handleSnackbar={handleSnackbar}
objType={recurso.object_type}
/>
</Card>
</Grid>
</Grid>
]
)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment