Simplified some booleans and if elses

This commit is contained in:
BB
2022-03-01 20:37:47 +01:00
parent 570b8caf78
commit 0eced1b9f2
10 changed files with 15 additions and 48 deletions
+1 -2
View File
@@ -186,8 +186,7 @@ export class OfficeSpace {
jobCount--;
}
}
if (jobCount !== amount) return false;
return true;
return jobCount === amount;
}
toJSON(): any {