1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-01 20:05:23 +02:00
portainer/app/react/sidebar/AzureSidebar/AzureSidebar.tsx
Chaim Lev-Ari 882051cc30
chore(sidebar): add data-cys [EE-3605] (#7143)
* chore(sidebar): add data-cys [EE-3605]

fix [EE-3605]
2022-06-28 19:36:40 +03:00

29 lines
705 B
TypeScript

import { Box } from 'react-feather';
import { EnvironmentId } from '@/portainer/environments/types';
import { DashboardLink } from '../items/DashboardLink';
import { SidebarItem } from '../SidebarItem';
interface Props {
environmentId: EnvironmentId;
}
export function AzureSidebar({ environmentId }: Props) {
return (
<>
<DashboardLink
environmentId={environmentId}
platformPath="azure"
data-cy="azureSidebar-dashboard"
/>
<SidebarItem
to="azure.containerinstances"
params={{ endpointId: environmentId }}
icon={Box}
label="Container instances"
data-cy="azureSidebar-containerInstances"
/>
</>
);
}