Allow council motion with non-existing end (old) (#2709)
* Allow council motion with non-existing end (old) * Update packages/page-council/src/Motions/Motion.tsx
This commit is contained in:
parent
a2283bffe0
commit
9c80d4bc3b
@ -56,7 +56,8 @@ function Motion ({ className, isMember, members, motion: { hash, proposal, votes
|
||||
<Votes votes={nays} />
|
||||
<td className='button'>
|
||||
{bestNumber && (
|
||||
end.gt(bestNumber)
|
||||
// end may not be existing (older versions)
|
||||
!end || end.gt(bestNumber)
|
||||
? (
|
||||
<Voting
|
||||
hash={hash}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user