mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Fleet UI: Fix formatting for mdm unenroll activity (#9476)
@gillespi314 Authored by: gillespi314 <73313222+gillespi314@users.noreply.github.com> Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
This commit is contained in:
parent
c467aaad73
commit
0b2a511b26
2 changed files with 5 additions and 6 deletions
|
|
@ -61,5 +61,6 @@ export interface IActivityDetails {
|
||||||
email?: string;
|
email?: string;
|
||||||
role?: string;
|
role?: string;
|
||||||
host_serial?: string;
|
host_serial?: string;
|
||||||
|
host_display_name?: string;
|
||||||
installed_from_dep?: boolean;
|
installed_from_dep?: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -165,12 +165,10 @@ const TAGGED_TEMPLATES = {
|
||||||
mdmUnenrolled: (activity: IActivity) => {
|
mdmUnenrolled: (activity: IActivity) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
An end user turned off MDM features for a host with serial number
|
{activity.actor_full_name
|
||||||
<b>
|
? " turned off mobile device management (MDM) for"
|
||||||
{activity.details?.host_serial} (
|
: "Mobile device management (MDM) was turned off for"}{" "}
|
||||||
{activity.details?.installed_from_dep ? "automatic" : "manual"})
|
<b>{activity.details?.host_display_name}</b>.
|
||||||
</b>
|
|
||||||
.
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue