From 444ee2e222fc7460fecb5fe1ff1b3fdc2030d248 Mon Sep 17 00:00:00 2001 From: dbraquart <107846716+dbraquart@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:59:12 +0100 Subject: [PATCH] PARAMETERS is not an element type (#678) Signed-off-by: David BRAQUART --- src/utils/mapper/getFileIcon.tsx | 1 - src/utils/types/elementType.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/utils/mapper/getFileIcon.tsx b/src/utils/mapper/getFileIcon.tsx index d98807cf..b2f54dc2 100644 --- a/src/utils/mapper/getFileIcon.tsx +++ b/src/utils/mapper/getFileIcon.tsx @@ -29,7 +29,6 @@ export function getFileIcon(type: ElementType, style: SxProps) { return ; case ElementType.FILTER: return ; - case ElementType.PARAMETERS: case ElementType.VOLTAGE_INIT_PARAMETERS: case ElementType.SECURITY_ANALYSIS_PARAMETERS: case ElementType.LOADFLOW_PARAMETERS: diff --git a/src/utils/types/elementType.ts b/src/utils/types/elementType.ts index 78493165..6ebf7588 100644 --- a/src/utils/types/elementType.ts +++ b/src/utils/types/elementType.ts @@ -13,7 +13,6 @@ export enum ElementType { CASE = 'CASE', FILTER = 'FILTER', MODIFICATION = 'MODIFICATION', - PARAMETERS = 'PARAMETERS', CONTINGENCY_LIST = 'CONTINGENCY_LIST', VOLTAGE_INIT_PARAMETERS = 'VOLTAGE_INIT_PARAMETERS', SECURITY_ANALYSIS_PARAMETERS = 'SECURITY_ANALYSIS_PARAMETERS',