mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Hide some unused icons on the part detail page
This commit is contained in:
parent
72512329e9
commit
15fee106b5
1 changed files with 4 additions and 2 deletions
|
|
@ -194,8 +194,9 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
);
|
||||
}
|
||||
|
||||
// TODO
|
||||
// Parts being built
|
||||
if (part.isAssembly) {
|
||||
if (false && part.isAssembly) {
|
||||
|
||||
tiles.add(ListTile(
|
||||
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(
|
||||
title: Text("Used In"),
|
||||
leading: FaIcon(FontAwesomeIcons.sitemap),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue