mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
fix: add fleet actor for setup experience global activities (#24196)
> Follow up on #23310 # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Manual QA for all new/changed functionality
This commit is contained in:
parent
98917e7547
commit
84742c2401
1 changed files with 8 additions and 0 deletions
|
|
@ -1385,6 +1385,14 @@ const ActivityItem = ({
|
|||
? addGravatarUrlToResource({ email: actor_email })
|
||||
: { gravatar_url: DEFAULT_GRAVATAR_LINK };
|
||||
|
||||
if (
|
||||
!activity.actor_email &&
|
||||
!activity.actor_full_name &&
|
||||
!activity.actor_id
|
||||
) {
|
||||
activity.actor_full_name = "Fleet";
|
||||
}
|
||||
|
||||
const activityCreatedAt = new Date(activity.created_at);
|
||||
const indicatePremiumFeature =
|
||||
isSandboxMode && PREMIUM_ACTIVITIES.has(activity.type);
|
||||
|
|
|
|||
Loading…
Reference in a new issue