This commit is contained in:
rderfler 2022-05-08 14:14:05 -04:00
parent 30521468fc
commit b683bc0340

@ -186,14 +186,14 @@ export function SleeveElem(props: IProps): React.ReactElement {
<Typography>{desc}</Typography> <Typography>{desc}</Typography>
<Typography> <Typography>
{(props.sleeve.currentTask === SleeveTaskType.Crime || {(props.sleeve.currentTask === SleeveTaskType.Crime ||
props.sleeve.currentTask === SleeveTaskType.Bladeburner) && props.sleeve.currentTask === SleeveTaskType.Bladeburner) &&
props.sleeve.currentTaskMaxTime > 0 && ( props.sleeve.currentTaskMaxTime > 0 && (
<ProgressBar <ProgressBar
variant="determinate" variant="determinate"
value={(props.sleeve.currentTaskTime / props.sleeve.currentTaskMaxTime) * 100} value={(props.sleeve.currentTaskTime / props.sleeve.currentTaskMaxTime) * 100}
color="primary" color="primary"
/> />
)} )}
</Typography> </Typography>
</span> </span>
</Paper> </Paper>