Skip to content

Commit

Permalink
Fix activity actor name for setup experience items (#26599)
Browse files Browse the repository at this point in the history
  • Loading branch information
mna authored Feb 26, 2025
1 parent 023acb8 commit 4b21633
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const InstalledSoftwareActivityItem = ({
const actorDisplayName = self_service ? (
<span>End user</span>
) : (
<b>{actorName}</b>
<b>{actorName ?? "Fleet"}</b>
);

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const RanScriptActivityItem = ({
isSoloActivity={isSoloActivity}
hideCancel={hideCancel}
>
<b>{activity.actor_full_name}</b>
<b>{activity.actor_full_name ?? "Fleet"}</b>
<>
{" "}
{ranScriptPrefix}{" "}
Expand Down

0 comments on commit 4b21633

Please sign in to comment.