mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Add 'tests' button for part
This commit is contained in:
parent
952f98d78b
commit
687b5ed8c7
2 changed files with 12 additions and 0 deletions
|
|
@ -215,6 +215,16 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
);
|
||||
}
|
||||
|
||||
if (part.isTrackable) {
|
||||
tiles.add(ListTile(
|
||||
title: Text("Required Tests"),
|
||||
leading: FaIcon(FontAwesomeIcons.tasks),
|
||||
trailing: Text(""),
|
||||
onTap: null,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// Notes field?
|
||||
if (part.notes.isNotEmpty) {
|
||||
tiles.add(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue