allow dissolve by anyone when ended (#7184)

This commit is contained in:
Shawn Tabrizi 2022-03-18 11:10:49 -04:00 committed by GitHub
parent 3e6374bf7c
commit 0109142da0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,7 @@ function Fund ({ bestHash, bestNumber, className = '', isOngoing, leasePeriod, v
accountId={depositor}
className='media--1400'
icon='times'
isDisabled={!isDepositor}
isDisabled={!(isDepositor || hasEnded)}
label={
isEnded
? t<string>('Close')