mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Don't show copy if host is Android (#30951)
> Closes #30905 # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Added/updated automated tests - [x] Manual QA for all new/changed functionality - [x] For unreleased bug fixes in a release candidate, confirmed that the fix is not expected to adversely impact load test results or alerted the release DRI if additional load testing is needed.
This commit is contained in:
parent
049e28ca02
commit
363411b82d
2 changed files with 6 additions and 1 deletions
|
|
@ -343,7 +343,9 @@ const HostSoftware = ({
|
|||
|
||||
return (
|
||||
<div className={baseClass}>
|
||||
<CardHeader subheader="Software installed on this host" />
|
||||
{!isAndroid(platform) && (
|
||||
<CardHeader subheader="Software installed on this host" />
|
||||
)}
|
||||
{renderHostSoftware()}
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -54,6 +54,9 @@ describe("HostSoftwareTable", () => {
|
|||
screen.getByText(/software is not supported for this host/i)
|
||||
).toBeInTheDocument();
|
||||
expect(screen.getByText(/let us know/i)).toBeInTheDocument();
|
||||
expect(
|
||||
screen.queryByText(/Software installed on this host/i)
|
||||
).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("renders custom filter button when filters are applied", () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue