Fix styling of errors tab for live policy results page (#4766)
This commit is contained in:
@@ -266,10 +266,12 @@ const QueryResults = ({
|
||||
<TabList>
|
||||
<Tab className={firstTabClass}>{NAV_TITLES.RESULTS}</Tab>
|
||||
<Tab disabled={!errors?.length}>
|
||||
{errors?.length > 0 && (
|
||||
<span className="count">{errors.length}</span>
|
||||
)}
|
||||
{NAV_TITLES.ERRORS}
|
||||
<span>
|
||||
{errors?.length > 0 && (
|
||||
<span className="count">{errors.length}</span>
|
||||
)}
|
||||
{NAV_TITLES.ERRORS}
|
||||
</span>
|
||||
</Tab>
|
||||
</TabList>
|
||||
<TabPanel>{renderTable()}</TabPanel>
|
||||
|
||||
Reference in New Issue
Block a user