Added missing Batch Scripts tab counts (#34638)
Resolves #33393 Added status counts to batch script detail page tabs.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
* Added status counts to batch script detail page tabs.
|
||||
+25
-5
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user