Donation is always visible but locked before favor requirements are fulfilled.

This commit is contained in:
Olivier Gagnon
2021-05-03 00:37:53 -04:00
parent a14a694df3
commit 4eaf68c940
2 changed files with 15 additions and 3 deletions
+3 -1
View File
@@ -264,11 +264,13 @@ export class FactionRoot extends React.Component<IProps, IState> {
/>
}
{
(!isPlayersGang && canDonate) &&
!isPlayersGang &&
<DonateOption
faction={this.props.faction}
p={this.props.p}
rerender={this.rerender}
favorToDonate={favorToDonate}
disabled={!canDonate}
/>
}
<Option