mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-11 10:34:06 +00:00
Fix execute if collected signs is > to threshold (#1968)
This commit is contained in:
parent
0236a4c536
commit
a780f9244d
@ -52,7 +52,7 @@ export const TxOwners = ({ detailedExecutionInfo }: TxOwnersProps): ReactElement
|
||||
</div>
|
||||
</OwnerListItem>
|
||||
))}
|
||||
{confirmationsNeeded === 0 ? (
|
||||
{confirmationsNeeded <= 0 ? (
|
||||
<OwnerListItem>
|
||||
<span className="icon">
|
||||
<StyledImg alt="" src={detailedExecutionInfo.executor ? CheckCircleGreen : TransactionListActive} />
|
||||
|
@ -13,7 +13,7 @@ import { AppReduxState } from 'src/store'
|
||||
|
||||
export const isThresholdReached = (executionInfo: ExecutionInfo): boolean => {
|
||||
const { confirmationsSubmitted, confirmationsRequired } = executionInfo
|
||||
return confirmationsSubmitted === confirmationsRequired
|
||||
return confirmationsSubmitted >= confirmationsRequired
|
||||
}
|
||||
|
||||
export type TransactionActions = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user