mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
feat(nomad): remove nomad from UI EE-6060 (#10509)
This commit is contained in:
parent
1140804fe9
commit
8bb5129be0
110 changed files with 39 additions and 1813 deletions
|
@ -11,7 +11,6 @@ import {
|
|||
} from '@/react/portainer/environments/types';
|
||||
import { getPlatformType } from '@/react/portainer/environments/utils';
|
||||
import { useEnvironment } from '@/react/portainer/environments/queries/useEnvironment';
|
||||
import { isBE } from '@/react/portainer/feature-flags/feature-flags.service';
|
||||
import { environmentStore } from '@/react/hooks/current-environment-store';
|
||||
|
||||
import { Icon } from '@@/Icon';
|
||||
|
@ -24,7 +23,6 @@ import { DockerSidebar } from './DockerSidebar';
|
|||
import { KubernetesSidebar } from './KubernetesSidebar';
|
||||
import { SidebarSection, SidebarSectionTitle } from './SidebarSection';
|
||||
import { useSidebarState } from './useSidebarState';
|
||||
import { NomadSidebar } from './NomadSidebar';
|
||||
|
||||
export function EnvironmentSidebar() {
|
||||
const { query: currentEnvironmentQuery, clearEnvironment } =
|
||||
|
@ -87,7 +85,6 @@ function Content({ environment, onClear }: ContentProps) {
|
|||
[PlatformType.Azure]: AzureSidebar,
|
||||
[PlatformType.Docker]: DockerSidebar,
|
||||
[PlatformType.Kubernetes]: KubernetesSidebar,
|
||||
[PlatformType.Nomad]: isBE ? NomadSidebar : null,
|
||||
};
|
||||
|
||||
return sidebar[platform];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue