We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d461f6 commit 330c379Copy full SHA for 330c379
1 file changed
src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOMTab.tsx
@@ -15,7 +15,7 @@ import ErrorPage from '../../ErrorPage';
15
import { useGetAssembliesForWbsElement, useGetMaterialsForWbsElement } from '../../../hooks/bom.hooks';
16
17
export const addMaterialCosts = (accumulator: number, currentMaterial: MaterialPreview) =>
18
- currentMaterial.subtotal ?? 0 + accumulator;
+ (currentMaterial.subtotal ?? 0) + accumulator;
19
20
const BOMTab = ({ project }: { project: Project }) => {
21
const initialHideColumn = new Array(12).fill(false);
0 commit comments