mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 17:28:54 +00:00
fa252e4977
relates to #9831 Update Controls page to individually show the mdm disabled UI state per tab. Before this was done across the entire control page: ![image](https://github.com/fleetdm/fleet/assets/1153709/67a88cf4-c489-46aa-a802-58c4ef61ac5a) Also, refactors the code to be less specific to mac OS. - [x] Manual QA for all new/changed functionality
31 lines
786 B
TypeScript
31 lines
786 B
TypeScript
import PATHS from "router/paths";
|
|
|
|
import { ISideNavItem } from "pages/admin/components/SideNav/SideNav";
|
|
|
|
import EndUserAuthentication from "./cards/EndUserAuthentication/EndUserAuthentication";
|
|
import BootstrapPackage from "./cards/BootstrapPackage";
|
|
|
|
interface ISetupExperienceCardProps {
|
|
currentTeamId?: number;
|
|
}
|
|
|
|
// TODO: types
|
|
const SETUP_EXPERIENCE_NAV_ITEMS: ISideNavItem<
|
|
ISetupExperienceCardProps | any
|
|
>[] = [
|
|
{
|
|
title: "End user authentication",
|
|
urlSection: "end-user-auth",
|
|
path: PATHS.CONTROLS_END_USER_AUTHENTICATION,
|
|
Card: EndUserAuthentication,
|
|
},
|
|
{
|
|
title: "Bootstrap package",
|
|
urlSection: "bootstrap-package",
|
|
path: PATHS.CONTROLS_BOOTSTRAP_PACKAGE,
|
|
Card: BootstrapPackage,
|
|
},
|
|
];
|
|
|
|
export default SETUP_EXPERIENCE_NAV_ITEMS;
|