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
39bedfb4
Commit
39bedfb4
authored
1 month ago
by
Richard Fernando Heise Ferreira
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue-331/HOTFIX-userid' into 'develop'
Issue
#331
: UserId no PublisherInfo quebrado See merge request
!305
parents
36fe42bd
f1010813
No related branches found
No related tags found
1 merge request
!305
Issue #331: UserId no PublisherInfo quebrado
Pipeline
#42450
passed
1 month ago
Stage: test
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+5
-0
5 additions, 0 deletions
CHANGELOG.md
package.json
+1
-1
1 addition, 1 deletion
package.json
src/app/components/publisherInfo.js
+2
-1
2 additions, 1 deletion
src/app/components/publisherInfo.js
src/app/recurso/[id]/page.js
+1
-1
1 addition, 1 deletion
src/app/recurso/[id]/page.js
with
9 additions
and
3 deletions
CHANGELOG.md
+
5
−
0
View file @
39bedfb4
...
@@ -5,6 +5,11 @@ Todas as alterações relevantes deste projeto serão documentadas neste arquivo
...
@@ -5,6 +5,11 @@ Todas as alterações relevantes deste projeto serão documentadas neste arquivo
O formato é baseado em
[
Keep a Changelog
](
https://keepachangelog.com/en/1.1.0/
)
,
O formato é baseado em
[
Keep a Changelog
](
https://keepachangelog.com/en/1.1.0/
)
,
e este projeto segue a
[
Versão Semântica
](
https://semver.org/lang/pt-BR/spec/v2.0.0.html
)
.
e este projeto segue a
[
Versão Semântica
](
https://semver.org/lang/pt-BR/spec/v2.0.0.html
)
.
## [1.13.2] - 20/05/2025
### Corrigido
-
Bug na página de visualização de recurso.
## [1.13.1] - 19/05/2025
## [1.13.1] - 19/05/2025
## Todas as mudanças são introduzidas às sextas-feiras. Mas apenas nas **segundas-feiras** vão para produção.
## Todas as mudanças são introduzidas às sextas-feiras. Mas apenas nas **segundas-feiras** vão para produção.
...
...
This diff is collapsed.
Click to expand it.
package.json
+
1
−
1
View file @
39bedfb4
{
{
"name"
:
"frontend-mecred"
,
"name"
:
"frontend-mecred"
,
"version"
:
"1.13.
1
"
,
"version"
:
"1.13.
2
"
,
"private"
:
true
,
"private"
:
true
,
"scripts"
:
{
"scripts"
:
{
"dev"
:
"npx next dev"
,
"dev"
:
"npx next dev"
,
...
...
This diff is collapsed.
Click to expand it.
src/app/components/publisherInfo.js
+
2
−
1
View file @
39bedfb4
...
@@ -16,7 +16,8 @@ export default function PublisherInfo({ publisher, disabledButton = false, userI
...
@@ -16,7 +16,8 @@ export default function PublisherInfo({ publisher, disabledButton = false, userI
useEffect
(()
=>
{
useEffect
(()
=>
{
setFollowed
(
publisher
?.
followed
??
false
);
setFollowed
(
publisher
?.
followed
??
false
);
setIsPublisher
(
publisher
[
"
id
"
]
===
userId
?
true
:
false
)
setIsPublisher
(
publisher
[
"
id
"
]
===
userId
?
true
:
false
)
},
[
publisher
]);
},
[
publisher
,
userId
]);
if
(
!
publisher
)
{
if
(
!
publisher
)
{
return
<><
/>
;
return
<><
/>
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/recurso/[id]/page.js
+
1
−
1
View file @
39bedfb4
...
@@ -136,7 +136,7 @@ export default function Recurso({ params }) {
...
@@ -136,7 +136,7 @@ export default function Recurso({ params }) {
)}
)}
<
/div
>
<
/div
>
<
ActionButtons
learningObject
=
{
learningObject
}
setNeedLoginOpen
=
{
setNeedLoginOpen
}
state
=
{
state
}
/
>
<
ActionButtons
learningObject
=
{
learningObject
}
setNeedLoginOpen
=
{
setNeedLoginOpen
}
state
=
{
state
}
/
>
<
PublisherInfo
publisher
=
{
learningObject
?.
publisher
}
userId
=
{
userData
.
id
}
/
>
<
PublisherInfo
publisher
=
{
learningObject
?.
publisher
}
userId
=
{
userData
?
.
id
}
/
>
<
ResourceInfo
learningObject
=
{
learningObject
}
/
>
<
ResourceInfo
learningObject
=
{
learningObject
}
/
>
<
Comments
learningObjectId
=
{
params
.
id
}
/
>
<
Comments
learningObjectId
=
{
params
.
id
}
/
>
<
/div
>
<
/div
>
...
...
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