Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ changes.

- Change votes representation on Governance Actions [Issue 2880](https://github.com/IntersectMBO/govtool/issues/2880)
- Change vote rationale character limit to 10000 [Issue 2891](https://github.com/IntersectMBO/govtool/issues/2891)
- Move ratification threshold label below the voter type [Issue 2893](https://github.com/IntersectMBO/govtool/issues/2893)

### Removed

Expand Down
42 changes: 21 additions & 21 deletions govtool/frontend/src/components/molecules/VotesSubmitted.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,27 +226,6 @@ const VotesGroup = ({
>
{t(`govActions.${type}`)}
</Typography>
<Vote
type={type}
vote="yes"
percentage={yesVotesPercentage}
value={yesVotes}
/>
<Vote type={type} vote="abstain" value={abstainVotes} />
<Vote
type={type}
vote="no"
percentage={noVotesPercentage}
value={noVotes}
/>
{typeof notVotedVotes === "number" && (
<Vote
type={type}
vote="notVoted"
percentage={notVotedPercentage}
value={notVotedVotes}
/>
)}
{threshold !== undefined && threshold !== null && (
<Box
display="flex"
Expand Down Expand Up @@ -279,6 +258,27 @@ const VotesGroup = ({
</Typography>
</Box>
)}
<Vote
type={type}
vote="yes"
percentage={yesVotesPercentage}
value={yesVotes}
/>
<Vote type={type} vote="abstain" value={abstainVotes} />
<Vote
type={type}
vote="no"
percentage={noVotesPercentage}
value={noVotes}
/>
{typeof notVotedVotes === "number" && (
<Vote
type={type}
vote="notVoted"
percentage={notVotedPercentage}
value={notVotedVotes}
/>
)}
</Box>
);
};
Expand Down