mirror of
https://github.com/inventree/inventree-app.git
synced 2026-11-29 08:45:08 +00:00
Test result fixes (#564)
* Fix association of test results to templates * Fixes * Remove unused vars
This commit is contained in:
1 parent
b849bfc718
commit
6f5fc1d8a9
5 files changed
+76
-22
No files matched your search
@@ -657,7 +657,13 @@ class APIFormField {
|
||||
) : null,
|
||||
leading: extended ? InvenTreeAPI().getThumbnail(part.thumbnail) : null,
|
||||
);
|
||||
case "parttesttemplate":
|
||||
var template = InvenTreePartTestTemplate.fromJson(data);
|
||||
|
||||
return ListTile(
|
||||
title: Text(template.testName),
|
||||
subtitle: Text(template.description),
|
||||
);
|
||||
case "supplierpart":
|
||||
var part = InvenTreeSupplierPart.fromJson(data);
|
||||
|
||||
|
||||
Reference in new issue
Block a user