Skip to content

Commit

Permalink
fix display (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrX-SNX authored Sep 6, 2024
1 parent b683e55 commit fa332d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion governance/ui/src/components/UserTableView/UserTableView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ export default function UserTableView({
{totalVotingPowerPercentage ? totalVotingPowerPercentage + '%' : 'N/A'}
<Text color="gray.500" fontSize="x-small">
{totalVotingPowerPercentage && user.voteResult
? formatNumber(utils.formatEther(user.voteResult.votePower || '0'))
? activeCouncil === 'ambassador'
? formatNumber(user.voteResult.votePower.toString())
: formatNumber(utils.formatEther(user.voteResult.votePower || '0'))
: '—'}
</Text>
</Td>
Expand Down

0 comments on commit fa332d4

Please sign in to comment.