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:
parent
ba1df2e817
commit
87994a4912
@ -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
|
||||||
|
@ -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)
|
||||||
|
));
|
||||||
|
},
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user