mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 13:36:50 +00:00
Hide some unused icons on the part detail page
This commit is contained in:
parent
72512329e9
commit
15fee106b5
@ -194,8 +194,9 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO
|
||||||
// Parts being built
|
// Parts being built
|
||||||
if (part.isAssembly) {
|
if (false && part.isAssembly) {
|
||||||
|
|
||||||
tiles.add(ListTile(
|
tiles.add(ListTile(
|
||||||
title: Text("Bill of Materials"),
|
title: Text("Bill of Materials"),
|
||||||
@ -215,7 +216,8 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (part.isComponent) {
|
// TODO - Do we want to use the app to display "used in"?
|
||||||
|
if (false && part.isComponent) {
|
||||||
tiles.add(ListTile(
|
tiles.add(ListTile(
|
||||||
title: Text("Used In"),
|
title: Text("Used In"),
|
||||||
leading: FaIcon(FontAwesomeIcons.sitemap),
|
leading: FaIcon(FontAwesomeIcons.sitemap),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user