mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
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:
parent
0d62636c75
commit
0aa6a2ca16
1 changed files with 17 additions and 3 deletions
|
|
@ -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"
|
||||
) : (
|
||||
|
|
|
|||
Loading…
Reference in a new issue