mirror of
https://github.com/fleetdm/fleet
synced 2026-05-17 22:18:39 +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;
|
||||
role?: string;
|
||||
host_serial?: string;
|
||||
host_display_name?: string;
|
||||
installed_from_dep?: boolean;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -165,12 +165,10 @@ const TAGGED_TEMPLATES = {
|
|||
mdmUnenrolled: (activity: IActivity) => {
|
||||
return (
|
||||
<>
|
||||
An end user turned off MDM features for a host with serial number
|
||||
<b>
|
||||
{activity.details?.host_serial} (
|
||||
{activity.details?.installed_from_dep ? "automatic" : "manual"})
|
||||
</b>
|
||||
.
|
||||
{activity.actor_full_name
|
||||
? " turned off mobile device management (MDM) for"
|
||||
: "Mobile device management (MDM) was turned off for"}{" "}
|
||||
<b>{activity.details?.host_display_name}</b>.
|
||||
</>
|
||||
);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue