Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume DEWISME
CI
Commits
d41e9926
Commit
d41e9926
authored
Mar 23, 2025
by
Quentin Hamitouche
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix proposal id
parent
14b2733f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
VotingSession.js
frontend/src/components/VotingSession.js
+2
-2
No files found.
frontend/src/components/VotingSession.js
View file @
d41e9926
...
@@ -82,7 +82,7 @@ const VotingSession = ({
...
@@ -82,7 +82,7 @@ const VotingSession = ({
<
div
className
=
"winner-info"
>
<
div
className
=
"winner-info"
>
<
h3
>
Proposition
gagnante
:
<
/h3
>
<
h3
>
Proposition
gagnante
:
<
/h3
>
<
div
className
=
"proposal-item winner"
>
<
div
className
=
"proposal-item winner"
>
<
strong
>
Proposition
#
{
winningProposalId
}:
<
/strong> {winningProposal.description
}
<
strong
>
Proposition
#
{
winningProposalId
+
1
}:
<
/strong> {winningProposal.description
}
<
div
className
=
"vote-count"
>
<
div
className
=
"vote-count"
>
<
span
>
{
winningProposal
.
voteCount
}
vote
(
s
)
<
/span
>
<
span
>
{
winningProposal
.
voteCount
}
vote
(
s
)
<
/span
>
<
/div
>
<
/div
>
...
@@ -147,7 +147,7 @@ const VotingSession = ({
...
@@ -147,7 +147,7 @@ const VotingSession = ({
<
/div
>
<
/div
>
)
:
(
)
:
(
<
div
className
=
"already-voted"
>
<
div
className
=
"already-voted"
>
<
p
className
=
"status success"
>
Vous
avez
d
é
j
à
vot
é
pour
la
proposition
#
{
voterInfo
.
votedProposalId
}.
<
/p
>
<
p
className
=
"status success"
>
Vous
avez
d
é
j
à
vot
é
pour
la
proposition
#
{
parseInt
(
voterInfo
.
votedProposalId
)
+
1
}.
<
/p
>
<
/div
>
<
/div
>
)}
)}
<
/
>
<
/
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment