update activities for installing software via ios/ipad (#34027)
**Related issue:** Resolves #33703 quick change to UI to support ios and ipad setup experience install software activity
This commit is contained in:
+17
-3
@@ -1537,12 +1537,26 @@ const TAGGED_TEMPLATES = {
|
||||
},
|
||||
editedSetupExperienceSoftware: (activity: IActivity) => {
|
||||
const { platform, team_name, team_id } = activity.details || {};
|
||||
|
||||
let platformText = "";
|
||||
switch (platform) {
|
||||
case "darwin":
|
||||
platformText = "macOS";
|
||||
break;
|
||||
case "ios":
|
||||
platformText = "iOS";
|
||||
break;
|
||||
case "ipados":
|
||||
platformText = "iPadOS";
|
||||
break;
|
||||
default:
|
||||
platformText = capitalize(platform);
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
{" "}
|
||||
edited setup experience software for{" "}
|
||||
{platform === "darwin" ? "macOS" : capitalize(platform)} hosts that
|
||||
enroll to{" "}
|
||||
edited setup experience software for {platformText} hosts that enroll to{" "}
|
||||
{team_id === API_NO_TEAM_ID ? (
|
||||
"no team"
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user