mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Re-implement BOM link from part view (#325)
This commit is contained in:
parent
ba1df2e817
commit
87994a4912
2 changed files with 6 additions and 0 deletions
|
|
@ -444,6 +444,11 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
title: Text(L10().billOfMaterials),
|
||||
leading: FaIcon(FontAwesomeIcons.tableList, color: COLOR_ACTION),
|
||||
trailing: Text(bomCount.toString()),
|
||||
onTap: () {
|
||||
Navigator.push(context, MaterialPageRoute(
|
||||
builder: (context) => BillOfMaterialsWidget(part, isParentComponent: true)
|
||||
));
|
||||
},
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue