mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Dashboard UI: Only show welcome cards for global view (#6972)
This commit is contained in:
parent
c8367eaf32
commit
13478f451d
1 changed files with 2 additions and 1 deletions
|
|
@ -313,7 +313,8 @@ const Homepage = (): JSX.Element => {
|
|||
const allLayout = () => {
|
||||
return (
|
||||
<div className={`${baseClass}__section`}>
|
||||
{canEnrollHosts &&
|
||||
{!currentTeam &&
|
||||
canEnrollGlobalHosts &&
|
||||
hostSummaryData &&
|
||||
hostSummaryData?.totals_hosts_count < 2 && (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Reference in a new issue