Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend-MECRED
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MECRED
Frontend-MECRED
Commits
7a257696
Commit
7a257696
authored
2 weeks ago
by
Richard Fernando Heise Ferreira
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue-353/FIX-error-accesss-homologation-on-profile-page' into 'develop'
Issue
#353
: FIX error homologation on profile page See merge request
!323
parents
2482c858
e049cd62
Branches
Branches containing commit
No related tags found
1 merge request
!323
Issue #353: FIX error homologation on profile page
Pipeline
#42684
passed
2 weeks ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/perfil/[id]/components/CardsHomologation.js
+12
-12
12 additions, 12 deletions
src/app/perfil/[id]/components/CardsHomologation.js
src/app/recurso/[id]/components/collectModal.js
+1
-1
1 addition, 1 deletion
src/app/recurso/[id]/components/collectModal.js
with
13 additions
and
13 deletions
src/app/perfil/[id]/components/CardsHomologation.js
+
12
−
12
View file @
7a257696
...
...
@@ -79,21 +79,21 @@ export default function CardsHomologation({ item, key, tag }) {
component
=
"
img
"
image
=
{
tag
?
null
:
item
[
"
learning_object
"
][
"
thumbnail
"
]
===
null
?
getDefaultThumbnail
(
item
[
"
learning_object
"
][
"
object_type
"
]
)
:
mecredURL
+
item
[
"
learning_object
"
][
"
thumbnail
"
]
item
.
learning_object
?.
thumbnail
===
null
?
getDefaultThumbnail
(
item
.
learning_object
?.
object_type
)
:
mecredURL
+
item
.
learning_object
?.
thumbnail
}
title
=
{
tag
?
item
[
0
]?.
name
:
item
[
"
learning_object
"
][
"
thumbnail
"
]
}
title
=
{
tag
?
item
[
0
]?.
name
:
item
.
learning_object
?.
thumbnail
}
alt
=
"
img
"
/>
<
CardHeader
className
=
"
self-start flex-shrink h-[100px]
"
avatar
=
{
tag
?
null
:
item
[
"
submitter
"
][
"
avatar
"
]
===
null
?
null
:
avatar
=
{
tag
?
null
:
item
.
submitter
?.
avatar
===
null
?
null
:
<
Link
href
=
"
/perfil
"
>
<
Avatar
src
=
{
mecredURL
+
item
[
"
submitter
"
][
"
avatar
"
]
}
alt
=
{
item
[
"
submitter
"
][
"
name
"
]
}
title
=
{
item
[
"
submitter
"
][
"
name
"
]
}
src
=
{
mecredURL
+
item
.
submitter
?.
avatar
}
alt
=
{
item
.
submitter
?.
name
}
title
=
{
item
.
submitter
?.
name
}
// className="-mt-9"
sx
=
{{
width
:
28
,
...
...
@@ -106,7 +106,7 @@ export default function CardsHomologation({ item, key, tag }) {
}
title
=
{
<
Typography
variant
=
"
body2
"
color
=
""
className
=
"
line-clamp-2 text-darkGray-HC-white-underline font-bold
"
>
{
tag
?
item
[
0
]?.
name
:
item
[
"
learning_object
"
][
"
name
"
]
}
{
tag
?
item
[
0
]?.
name
:
item
.
learning_object
?.
name
}
<
/Typography
>
}
subheader
=
{
...
...
@@ -116,7 +116,7 @@ export default function CardsHomologation({ item, key, tag }) {
color
=
"
text.secondary
"
className
=
"
line-clamp-1 text-darkGray-HC-white-underline font-light
"
>
{
tag
?
item
[
0
]?.
name
:
item
[
"
submitter
"
][
"
name
"
]
}
{
tag
?
item
[
0
]?.
name
:
item
.
submitter
?.
name
}
<
/Typography
>
<
/
>
}
...
...
@@ -126,7 +126,7 @@ export default function CardsHomologation({ item, key, tag }) {
className
=
"
text-darkGray-HC-white-underline font-light border-2 border-ice-HC-white
"
variant
=
'
outlined
'
alt
=
'
Avaliar
'
onClick
=
{()
=>
window
.
open
(
location
.
protocol
+
`//`
+
location
.
host
+
`/recurso/
${
item
[
"
learning_object
"
][
"
id
"
]
}
`
)}
onClick
=
{()
=>
window
.
open
(
location
.
protocol
+
`//`
+
location
.
host
+
`/recurso/
${
item
.
learning_object
?.
id
}
`
)}
>
Avaliar
<
/Button
>
...
...
This diff is collapsed.
Click to expand it.
src/app/recurso/[id]/components/collectModal.js
+
1
−
1
View file @
7a257696
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment