Don't allow votes when motion is closeable (#2937)
This commit is contained in:
parent
8e9b6869b4
commit
f1076b5596
@ -54,7 +54,7 @@ function Motion ({ className = '', isMember, members, motion: { hash, proposal,
|
||||
<Voters votes={ayes} />
|
||||
<Voters votes={nays} />
|
||||
<td className='button'>
|
||||
{isVoteable && (
|
||||
{isVoteable && !isCloseable && (
|
||||
<Voting
|
||||
hash={hash}
|
||||
idNumber={index}
|
||||
|
||||
@ -76,7 +76,7 @@ function Proposal ({ className = '', imageHash, isMember, members, prime }: Prop
|
||||
))}
|
||||
</td>
|
||||
<td className='button'>
|
||||
{isVoteable && (
|
||||
{isVoteable && !isCloseable && (
|
||||
<Voting
|
||||
hash={imageHash}
|
||||
prime={prime}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user