From 816d990aec71a1212efe7221513d265332259679 Mon Sep 17 00:00:00 2001 From: David BRAQUART Date: Fri, 24 Jan 2025 15:17:19 +0100 Subject: [PATCH] PARAMETERS is not an element type 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',