Merge pull request #2868 from zeddrak/patch-4

(Not Tested) Show current task on gang management screen
This commit is contained in:
hydroflame 2022-03-20 14:28:52 -04:00 committed by GitHub
commit 7b075f31ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,6 +41,7 @@ export function GangMemberStats(props: IProps): React.ReactElement {
const gang = useGang(); const gang = useGang();
const data = [ const data = [
[`Current Task:`, `${props.member.task}`],
[`Money:`, <MoneyRate money={5 * props.member.calculateMoneyGain(gang)} />], [`Money:`, <MoneyRate money={5 * props.member.calculateMoneyGain(gang)} />],
[`Respect:`, `${numeralWrapper.formatRespect(5 * props.member.calculateRespectGain(gang))} / sec`], [`Respect:`, `${numeralWrapper.formatRespect(5 * props.member.calculateRespectGain(gang))} / sec`],
[`Wanted Level:`, `${numeralWrapper.formatWanted(5 * props.member.calculateWantedLevelGain(gang))} / sec`], [`Wanted Level:`, `${numeralWrapper.formatWanted(5 * props.member.calculateWantedLevelGain(gang))} / sec`],