mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 18:25:26 +00:00
Add 'tests' button for part
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user