mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Fleet UI: Remove software header for fleet free (#36902)
This commit is contained in:
parent
7fb0ab105a
commit
87a8a64199
1 changed files with 12 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue