mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Fix styling of errors tab for live policy results page (#4766)
This commit is contained in:
parent
378b1dd34f
commit
345de5d8d4
1 changed files with 6 additions and 4 deletions
|
|
@ -266,10 +266,12 @@ const QueryResults = ({
|
||||||
<TabList>
|
<TabList>
|
||||||
<Tab className={firstTabClass}>{NAV_TITLES.RESULTS}</Tab>
|
<Tab className={firstTabClass}>{NAV_TITLES.RESULTS}</Tab>
|
||||||
<Tab disabled={!errors?.length}>
|
<Tab disabled={!errors?.length}>
|
||||||
{errors?.length > 0 && (
|
<span>
|
||||||
<span className="count">{errors.length}</span>
|
{errors?.length > 0 && (
|
||||||
)}
|
<span className="count">{errors.length}</span>
|
||||||
{NAV_TITLES.ERRORS}
|
)}
|
||||||
|
{NAV_TITLES.ERRORS}
|
||||||
|
</span>
|
||||||
</Tab>
|
</Tab>
|
||||||
</TabList>
|
</TabList>
|
||||||
<TabPanel>{renderTable()}</TabPanel>
|
<TabPanel>{renderTable()}</TabPanel>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue