2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 13:36:50 +00:00

Re-implement BOM link from part view (#325)

This commit is contained in:
Oliver 2023-04-19 21:07:56 +10:00 committed by GitHub
parent ba1df2e817
commit 87994a4912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,7 @@
--- ---
- Fix background image transparency for dark mode - Fix background image transparency for dark mode
- Fix link to Bill of Materials from Part screen
### 0.11.4 - April 2023 ### 0.11.4 - April 2023

View File

@ -444,6 +444,11 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
title: Text(L10().billOfMaterials), title: Text(L10().billOfMaterials),
leading: FaIcon(FontAwesomeIcons.tableList, color: COLOR_ACTION), leading: FaIcon(FontAwesomeIcons.tableList, color: COLOR_ACTION),
trailing: Text(bomCount.toString()), trailing: Text(bomCount.toString()),
onTap: () {
Navigator.push(context, MaterialPageRoute(
builder: (context) => BillOfMaterialsWidget(part, isParentComponent: true)
));
},
) )
); );
} }