mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
CODEBASE: Expand lint rules, and Aliases are stored as maps (#501)
This commit is contained in:
@@ -88,7 +88,7 @@ export function ProgramsRoot(): React.ReactElement {
|
||||
</Typography>
|
||||
{!Player.hasProgram(program.name) &&
|
||||
create.req() &&
|
||||
(isCreateProgramWork(Player.currentWork) && Player.currentWork?.programName === program.name ? (
|
||||
(isCreateProgramWork(Player.currentWork) && Player.currentWork.programName === program.name ? (
|
||||
//Button if the program is currently being worked on
|
||||
<Button
|
||||
sx={{ my: 1, width: "100%" }}
|
||||
@@ -128,7 +128,7 @@ export function ProgramsRoot(): React.ReactElement {
|
||||
</Typography>
|
||||
)}
|
||||
{/*Displays the current completion of the program currently being created*/}
|
||||
{isCreateProgramWork(Player.currentWork) && Player.currentWork?.programName === program.name && (
|
||||
{isCreateProgramWork(Player.currentWork) && Player.currentWork.programName === program.name && (
|
||||
<Typography color={Settings.theme.infolight}>
|
||||
<b>Current completion:</b>{" "}
|
||||
{((100 * Player.currentWork.unitCompleted) / Player.currentWork.unitNeeded()).toFixed(2)}%
|
||||
|
||||
Reference in New Issue
Block a user