mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
22 lines
470 B
TypeScript
22 lines
470 B
TypeScript
|
import { Database } from 'react-feather';
|
||
|
|
||
|
import { EnvironmentId } from '@/portainer/environments/types';
|
||
|
|
||
|
import { SidebarItem } from '../SidebarItem';
|
||
|
|
||
|
interface Props {
|
||
|
environmentId: EnvironmentId;
|
||
|
platformPath: string;
|
||
|
}
|
||
|
|
||
|
export function VolumesLink({ environmentId, platformPath }: Props) {
|
||
|
return (
|
||
|
<SidebarItem
|
||
|
to={`${platformPath}.volumes`}
|
||
|
params={{ endpointId: environmentId }}
|
||
|
icon={Database}
|
||
|
label="Volumes"
|
||
|
/>
|
||
|
);
|
||
|
}
|