Skip to content

Commit

Permalink
[UII] Fix typo causing agent activity page to error out (#191671)
Browse files Browse the repository at this point in the history
## Summary

Resolves #191387. Fix typo introduced in #189861.
  • Loading branch information
jen-huang authored Aug 29, 2024
1 parent 5cf9522 commit 4e27deb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const getAction = (type?: string, actionId?: string) => {
// handling a special case of force unenrollment coming from an automatic task
// we know what kind of action is from the actionId prefix
if (actionId?.includes('UnenrollInactiveAgentsTask-'))
return actionNames.AUTOMATICAL_FORCE_UNENROLL;
return actionNames.AUTOMATIC_FORCE_UNENROLL;
return actionNames[type ?? 'ACTION'] ?? actionNames.ACTION;
};

Expand Down

0 comments on commit 4e27deb

Please sign in to comment.