2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

PUI: Adjust test result table (#8667)

- Allow disable of results for "disabled" tests
- Controlled via additional table filter
This commit is contained in:
Oliver 2024-12-16 14:28:27 +11:00 committed by GitHub
parent 88ab59359f
commit 34b70d0a39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -395,6 +395,11 @@ export default function StockItemTestResultTable({
name: 'result',
label: t`Passed`,
description: t`Show only passed tests`
},
{
name: 'enabled',
label: t`Enabled`,
description: t`Show results for enabled tests`
}
];
}, []);
@ -470,8 +475,7 @@ export default function StockItemTestResultTable({
stock_item: itemId,
user_detail: true,
attachment_detail: true,
template_detail: true,
enabled: true
template_detail: true
}
}}
/>