fix view all host link chevron icon (#14924)

Fixes chevron icon for view all host link component


- [x] Manual QA for all new/changed functionality
This commit is contained in:
Gabriel Hernandez
2023-11-03 15:22:17 +00:00
committed by GitHub
parent 33db665d63
commit 82e576ef59
2 changed files with 2 additions and 2 deletions
@@ -7,7 +7,7 @@ describe("ViewAllHostsLink - component", () => {
render(<ViewAllHostsLink />);
const text = screen.getByText("View all hosts");
const icon = screen.getByTestId("chevron-down-icon");
const icon = screen.getByTestId("chevron-right-icon");
expect(text).toBeInTheDocument();
expect(icon).toBeInTheDocument();
@@ -37,7 +37,7 @@ const ViewAllHostsLink = ({
<Link className={viewAllHostsLinkClass} to={path} title="host-link">
{!condensed && <span>View all hosts</span>}
<Icon
name="chevron-down"
name="chevron-right"
className={`${baseClass}__icon`}
color="core-fleet-blue"
/>