CODEBASE: Expand lint rules, and Aliases are stored as maps (#501)

This commit is contained in:
Snarling
2023-05-05 03:55:59 -04:00
committed by GitHub
parent d25254caf1
commit ebae35b1fb
202 changed files with 905 additions and 1110 deletions
+2 -2
View File
@@ -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)}%