diff --git a/components/RunCard.renderCell.tsx b/components/RunCard.renderCell.tsx index a3f29cc..bf2462e 100644 --- a/components/RunCard.renderCell.tsx +++ b/components/RunCard.renderCell.tsx @@ -24,6 +24,8 @@ import {ITreeItemEx, ITreeItem} from 'azure-devops-ui/Utilities/TreeItemProvider import {Tooltip} from 'azure-devops-ui/TooltipEx' import {Icon, IconSize} from 'azure-devops-ui/Icon' +const colspan = 99 // No easy way to parameterize this, however extra does not hurt, so using an arbitrarily large value. + export function renderCell( rowIndex: number, columnIndex: number, @@ -48,7 +50,7 @@ export function renderCell( {age.name} {age.treeItem.childItemsAll.length} , - colspan: 4, // Conditionally less than 4 columns, but extra does not hurt. + colspan, ...commonProps, }) : null @@ -69,7 +71,7 @@ export function renderCell( }))} {rule.treeItem.childItemsAll.length} , - colspan: 4, // Conditionally less than 4 columns, but extra does not hurt. + colspan, ...commonProps, }) : null @@ -190,7 +192,7 @@ export function renderCell( return columnIndex === 0 ? ExpandableTreeCell({ children: Show All, - colspan: 4, // Conditionally less than 4 columns, but extra does not hurt. + colspan, ...commonProps }) : null