mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
fmt
This commit is contained in:
parent
30521468fc
commit
b683bc0340
@ -186,14 +186,14 @@ export function SleeveElem(props: IProps): React.ReactElement {
|
||||
<Typography>{desc}</Typography>
|
||||
<Typography>
|
||||
{(props.sleeve.currentTask === SleeveTaskType.Crime ||
|
||||
props.sleeve.currentTask === SleeveTaskType.Bladeburner) &&
|
||||
props.sleeve.currentTaskMaxTime > 0 && (
|
||||
<ProgressBar
|
||||
variant="determinate"
|
||||
value={(props.sleeve.currentTaskTime / props.sleeve.currentTaskMaxTime) * 100}
|
||||
color="primary"
|
||||
/>
|
||||
)}
|
||||
props.sleeve.currentTask === SleeveTaskType.Bladeburner) &&
|
||||
props.sleeve.currentTaskMaxTime > 0 && (
|
||||
<ProgressBar
|
||||
variant="determinate"
|
||||
value={(props.sleeve.currentTaskTime / props.sleeve.currentTaskMaxTime) * 100}
|
||||
color="primary"
|
||||
/>
|
||||
)}
|
||||
</Typography>
|
||||
</span>
|
||||
</Paper>
|
||||
|
Loading…
Reference in New Issue
Block a user