Skip to content

Commit 4802aa0

Browse files
authored
Merge pull request #3782 from Northeastern-Electric-Racing/#3761-Bug-in-Displaying-Subassembly-Name-in-BOM-Edit-Popup
#3761 changed assemblyId to name to have correct display information
2 parents 35350c5 + 8453e29 commit 4802aa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ const MaterialFormView: React.FC<MaterialFormViewProps> = ({
475475
displayEmpty: true,
476476
renderValue: (selected) =>
477477
selected ? (
478-
assemblies.find((a) => a.assemblyId === selected)?.assemblyId
478+
assemblies.find((a) => a.assemblyId === selected)?.name
479479
) : (
480480
<Typography sx={{ fontSize: '1rem', color: 'lightgray', opacity: 0.6 }}>
481481
Enter Assembly Details

0 commit comments

Comments
 (0)