mirror of
https://github.com/fleetdm/fleet
synced 2026-05-18 14:38:53 +00:00
For #26207 added banner that shows when android enterprise has been deleted. > TODO: this is only the frontend and will not work until BE work is done. It will not show in the UI currently 
29 lines
739 B
TypeScript
29 lines
739 B
TypeScript
import React from "react";
|
|
|
|
import CustomLink from "components/CustomLink";
|
|
import InfoBanner from "components/InfoBanner";
|
|
|
|
const baseClass = "android-enterprise-deleted-message";
|
|
|
|
const AndroidEnterpriseDeletedMessage = () => {
|
|
return (
|
|
<InfoBanner
|
|
className={baseClass}
|
|
color="yellow"
|
|
cta={
|
|
<CustomLink
|
|
url="https://business.apple.com/" // TODO: get this link
|
|
text="Learn more"
|
|
className={baseClass}
|
|
newTab
|
|
variant="banner-link"
|
|
/>
|
|
}
|
|
>
|
|
Android MDM is off because Android Enterprise was deleted in Google
|
|
Workspace. Please turn on Android MDM again.
|
|
</InfoBanner>
|
|
);
|
|
};
|
|
|
|
export default AndroidEnterpriseDeletedMessage;
|