mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
UI – Specify rendering condition for host > software > munki card (#15921)
## Addresses #15577 - [x] Changes file added for user-visible changes in `changes/` - [x] Manual QA for all new/changed functionality Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
parent
18d830a126
commit
89e687545e
2 changed files with 3 additions and 1 deletions
2
changes/15577-conditionally-display-munki-card
Normal file
2
changes/15577-conditionally-display-munki-card
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
- Fix a bug where the host details > software > munki issues section was sometimes displayed when
|
||||
Munki was not in use
|
||||
|
|
@ -760,7 +760,7 @@ const HostDetailsPage = ({
|
|||
pathname={pathname}
|
||||
pathPrefix={PATHS.HOST_SOFTWARE(host?.id || 0)}
|
||||
/>
|
||||
{host?.platform === "darwin" && macadmins && (
|
||||
{host?.platform === "darwin" && macadmins?.munki?.version && (
|
||||
<MunkiIssuesCard
|
||||
isLoading={isLoadingHost}
|
||||
munkiIssues={macadmins.munki_issues}
|
||||
|
|
|
|||
Loading…
Reference in a new issue