Skip to content

Commit 2bb0cc2

Browse files
committed
add back copy button for future
1 parent a1cfb99 commit 2bb0cc2

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOM/MaterialForm/MaterialFormView.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,30 @@ const MaterialFormView: React.FC<MaterialFormViewProps> = ({
504504
)}
505505
</Grid>
506506
</Grid>
507+
{/*submitText === 'Add' && (
508+
<Grid item xs={12} sx={{ pl: 0, pr: 0 }}>
509+
<Box
510+
sx={{
511+
pt: 1
512+
}}
513+
>
514+
<Button
515+
variant="contained"
516+
disableElevation
517+
onClick={() => {}}
518+
sx={{
519+
mx: 0,
520+
textTransform: 'none',
521+
bgcolor: '#EF4345',
522+
color: (t) => t.palette.getContrastText('#EF4345'),
523+
'&:hover': { bgcolor: (t) => t.palette.error.dark }
524+
}}
525+
>
526+
COPY FROM EXISTING BOM
527+
</Button>
528+
</Box>
529+
</Grid>
530+
)*/}
507531
</NERFormModal>
508532
);
509533
};

0 commit comments

Comments
 (0)