Skip to content

Commit

Permalink
[UI] Test Result Table Tweak (#9075)
Browse files Browse the repository at this point in the history
Control row expansion property for StockItemTestResultTable
  • Loading branch information
SchrodingersGat authored Feb 13, 2025
1 parent 301347f commit caa0498
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/tables/stock/StockItemTestResultTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit caa0498

Please sign in to comment.