Fleet UI: Remove software header for fleet free (#36902)
This commit is contained in:
@@ -332,11 +332,16 @@ const HostSoftware = ({
|
||||
<div className={baseClass}>
|
||||
<CardHeader
|
||||
header="Software"
|
||||
subheader={getSoftwareSubheader({
|
||||
platform,
|
||||
isMyDevicePage: true,
|
||||
hostMdmEnrollmentStatus,
|
||||
})}
|
||||
subheader={
|
||||
// Fleet Free does not have card subheader
|
||||
isPremiumTier
|
||||
? getSoftwareSubheader({
|
||||
platform,
|
||||
isMyDevicePage: true,
|
||||
hostMdmEnrollmentStatus,
|
||||
})
|
||||
: undefined
|
||||
}
|
||||
/>
|
||||
{renderHostSoftware()}
|
||||
</div>
|
||||
@@ -345,7 +350,8 @@ const HostSoftware = ({
|
||||
|
||||
return (
|
||||
<div className={baseClass}>
|
||||
{!isAndroid(platform) && (
|
||||
{/* Fleet Free and Android both do not have card subheader */}
|
||||
{!isAndroid(platform) && isPremiumTier && (
|
||||
<CardHeader
|
||||
subheader={getSoftwareSubheader({
|
||||
platform,
|
||||
|
||||
Reference in New Issue
Block a user