Skip to content

Commit 84742c2

Browse files
authored
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
1 parent 98917e7 commit 84742c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

frontend/pages/DashboardPage/cards/ActivityFeed/ActivityItem/ActivityItem.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,6 +1385,14 @@ const ActivityItem = ({
13851385
? addGravatarUrlToResource({ email: actor_email })
13861386
: { gravatar_url: DEFAULT_GRAVATAR_LINK };
13871387

1388+
if (
1389+
!activity.actor_email &&
1390+
!activity.actor_full_name &&
1391+
!activity.actor_id
1392+
) {
1393+
activity.actor_full_name = "Fleet";
1394+
}
1395+
13881396
const activityCreatedAt = new Date(activity.created_at);
13891397
const indicatePremiumFeature =
13901398
isSandboxMode && PREMIUM_ACTIVITIES.has(activity.type);

0 commit comments

Comments
 (0)