mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
UI: BladeBurner successes to next level tooltip fix (#728)
This commit is contained in:
parent
b7ad3395ae
commit
633f3ef07e
@ -40,10 +40,17 @@ export function ActionLevel({ action, isActive, bladeburner, rerender }: IProps)
|
||||
<Box display="flex">
|
||||
<Tooltip
|
||||
title={
|
||||
action.constructor.name === "Contract" ? (
|
||||
<Typography>
|
||||
{action.getSuccessesNeededForNextLevel(BladeburnerConstants.ContractSuccessesPerLevel)} successes needed
|
||||
for next level
|
||||
</Typography>
|
||||
) : (
|
||||
<Typography>
|
||||
{action.getSuccessesNeededForNextLevel(BladeburnerConstants.OperationSuccessesPerLevel)} successes
|
||||
needed for next level
|
||||
</Typography>
|
||||
)
|
||||
}
|
||||
>
|
||||
<Typography>
|
||||
|
Loading…
Reference in New Issue
Block a user