fix UI to only show munki card on host details for mac machines (#8657)

This commit is contained in:
Gabriel Hernandez
2022-11-10 14:26:12 +00:00
committed by GitHub
parent 443153a5d5
commit 139a462ebe
2 changed files with 2 additions and 1 deletions
@@ -0,0 +1 @@
- fix host details page so munki card only shows for mac hosts
@@ -618,7 +618,7 @@ const HostDetailsPage = ({
}
deviceType={host?.platform === "darwin" ? "macos" : ""}
/>
{macadmins && (
{host?.platform === "darwin" && macadmins && (
<MunkiIssuesCard
isLoading={isLoadingHost}
munkiIssues={macadmins.munki_issues}