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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MECRED
Frontend-MECRED
Commits
f1010813
Commit
f1010813
authored
3 months ago
by
gsf20
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#331
: UserId no PublisherInfo quebrado
parent
36fe42bd
No related branches found
No related tags found
1 merge request
!305
Issue #331: UserId no PublisherInfo quebrado
Pipeline
#42449
passed
3 months ago
Stage: build
Changes
4
Pipelines
2
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 @
f1010813
...
...
@@ -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/
)
,
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
## 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 @
f1010813
{
"name"
:
"frontend-mecred"
,
"version"
:
"1.13.
1
"
,
"version"
:
"1.13.
2
"
,
"private"
:
true
,
"scripts"
:
{
"dev"
:
"npx next dev"
,
...
...
This diff is collapsed.
Click to expand it.
src/app/components/publisherInfo.js
+
2
−
1
View file @
f1010813
...
...
@@ -16,7 +16,8 @@ export default function PublisherInfo({ publisher, disabledButton = false, userI
useEffect
(()
=>
{
setFollowed
(
publisher
?.
followed
??
false
);
setIsPublisher
(
publisher
[
"
id
"
]
===
userId
?
true
:
false
)
},
[
publisher
]);
},
[
publisher
,
userId
]);
if
(
!
publisher
)
{
return
<><
/>
;
}
...
...
This diff is collapsed.
Click to expand it.
src/app/recurso/[id]/page.js
+
1
−
1
View file @
f1010813
...
...
@@ -136,7 +136,7 @@ export default function Recurso({ params }) {
)}
<
/div
>
<
ActionButtons
learningObject
=
{
learningObject
}
setNeedLoginOpen
=
{
setNeedLoginOpen
}
state
=
{
state
}
/
>
<
PublisherInfo
publisher
=
{
learningObject
?.
publisher
}
userId
=
{
userData
.
id
}
/
>
<
PublisherInfo
publisher
=
{
learningObject
?.
publisher
}
userId
=
{
userData
?
.
id
}
/
>
<
ResourceInfo
learningObject
=
{
learningObject
}
/
>
<
Comments
learningObjectId
=
{
params
.
id
}
/
>
<
/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