mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Get list of required tets
This commit is contained in:
parent
687b5ed8c7
commit
70ca369529
2 changed files with 29 additions and 1 deletions
|
|
@ -42,6 +42,7 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
@override
|
||||
Future<void> request(BuildContext context) async {
|
||||
await part.reload(context);
|
||||
await part.getTestTemplates();
|
||||
}
|
||||
|
||||
void _savePart(Map<String, String> values) async {
|
||||
|
|
@ -219,7 +220,7 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||
tiles.add(ListTile(
|
||||
title: Text("Required Tests"),
|
||||
leading: FaIcon(FontAwesomeIcons.tasks),
|
||||
trailing: Text(""),
|
||||
trailing: Text("${part.testTemplateCount}"),
|
||||
onTap: null,
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue