Added missing Batch Scripts tab counts (#34638)

Resolves #33393

Added status counts to batch script detail page tabs.
This commit is contained in:
Juan Fernandez
2025-10-24 11:54:47 -04:00
committed by GitHub
parent 0db1b472a1
commit 758bc75f85
2 changed files with 26 additions and 5 deletions
@@ -0,0 +1 @@
* Added status counts to batch script detail page tabs.
@@ -288,19 +288,39 @@ const ScriptBatchDetailsPage = ({
>
<TabList>
<Tab>
<TabText>Ran</TabText>
<TabText count={batchDetails.ran_host_count}>Ran</TabText>
</Tab>
<Tab>
<TabText>Errored</TabText>
<TabText
count={batchDetails.errored_host_count}
countVariant={"alert"}
>
Errored
</TabText>
</Tab>
<Tab>
<TabText>Pending</TabText>
<TabText
count={batchDetails.pending_host_count}
countVariant={"pending"}
>
Pending
</TabText>
</Tab>
<Tab>
<TabText>Incompatible</TabText>
<TabText
count={batchDetails.incompatible_host_count}
countVariant={"pending"}
>
Incompatible
</TabText>
</Tab>
<Tab>
<TabText>Canceled</TabText>
<TabText
count={batchDetails.canceled_host_count}
countVariant={"pending"}
>
Canceled
</TabText>
</Tab>
</TabList>
<TabPanel>