Fix activity actor name for setup experience items (#26599)

This commit is contained in:
Martin Angers 2025-02-26 09:52:41 -05:00 committed by GitHub
parent 023acb85c2
commit 4b21633e31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -1340,7 +1340,7 @@ const GlobalActivityItem = ({
const hasDetails = ACTIVITIES_WITH_DETAILS.has(activity.type);
const renderActivityPrefix = () => {
const DEFAULT_ACTOR_DISPLAY = <b>{activity.actor_full_name} </b>;
const DEFAULT_ACTOR_DISPLAY = <b>{activity.actor_full_name ?? "Fleet"} </b>;
switch (activity.type) {
case ActivityType.UserLoggedIn:

View file

@ -21,7 +21,7 @@ const InstalledSoftwareActivityItem = ({
const actorDisplayName = self_service ? (
<span>End user</span>
) : (
<b>{actorName}</b>
<b>{actorName ?? "Fleet"}</b>
);
return (

View file

@ -26,7 +26,7 @@ const RanScriptActivityItem = ({
isSoloActivity={isSoloActivity}
hideCancel={hideCancel}
>
<b>{activity.actor_full_name}</b>
<b>{activity.actor_full_name ?? "Fleet"}</b>
<>
{" "}
{ranScriptPrefix}{" "}