Skip to content

Commit 4b6491d

Browse files
committed
clean up console logs
1 parent e503651 commit 4b6491d

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/backend/src/services/projects.services.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,6 @@ export default class ProjectsService {
615615
if (!project) throw new NotFoundException('Project', wbsPipe(wbsNumber));
616616
if (project.wbsElement.dateDeleted) throw new DeletedException('Project', project.projectId);
617617

618-
console.log(project.wbsElement.assemblies);
619618
if (project.wbsElement.assemblies.some((assembly) => assembly.name === name && !assembly.dateDeleted))
620619
throw new HttpException(400, `${name} already exists as an assembly on this project!`);
621620

src/backend/tests/projects.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ describe('Projects', () => {
280280

281281
test('fails when project has been deleted', async () => {
282282
const deletedWbsElement = { ...prismaProject1.wbsElement, dateDeleted: new Date() };
283-
// console.log(wbsElement);
284283
vi.spyOn(prisma.project, 'findFirst').mockResolvedValue({ ...prismaProject1, wbsElement: deletedWbsElement } as any);
285284

286285
const query = '1.1.0';

src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOM/BOMTable.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ const BOMTable: React.FC<BOMTableProps> = ({ columns, materials, assemblies }) =
4343
backgroundColor: '#ef4345'
4444
},
4545
'& .super-app-theme--assembly': {
46-
backgroundColor: '#CCA5A5'
46+
backgroundColor: '#997570',
47+
'&:hover': {
48+
backgroundColor: '#997570'
49+
},
50+
'&:focus': {
51+
backgroundColor: '#997570'
52+
}
4753
}
4854
}}
4955
>

0 commit comments

Comments
 (0)