mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
[UI] Test Result Table Tweak (#9075)
Control row expansion property for StockItemTestResultTable
This commit is contained in:
parent
301347f1d0
commit
caa0498aa3
@ -437,6 +437,7 @@ export default function StockItemTestResultTable({
|
||||
|
||||
return {
|
||||
allowMultiple: true,
|
||||
expandable: (record: any) => record.results && record.results.length > 1,
|
||||
content: ({ record }: { record: any }) => {
|
||||
if (!record || !record.results || record.results.length < 2) {
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user