Skip to content

Commit

Permalink
fix: add fleet actor for setup experience global activities (#24196) (#…
Browse files Browse the repository at this point in the history
…24214)

Cherry-pick for #24196
  • Loading branch information
jahzielv authored Nov 27, 2024
1 parent 1bde2f5 commit f49d84b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f49d84b

Please sign in to comment.