Skip to content

Commit dc51d5d

Browse files
authored
add Dangling line in possible filters for filters based contingency list (#732)
Signed-off-by: basseche <[email protected]>
1 parent e429129 commit dc51d5d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/dialogs/contingency-list/filter-based/contingency-list-filter-based-form.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { FormattedMessage, useIntl } from 'react-intl';
2525
import { useCallback, useEffect, useState } from 'react';
2626
import { FolderOutlined } from '@mui/icons-material';
2727
import { ColDef } from 'ag-grid-community';
28-
import { blue, brown, green, indigo, lime, red, teal } from '@mui/material/colors';
28+
import { blue, brown, cyan, green, indigo, lime, red, teal } from '@mui/material/colors';
2929
import { useWatch } from 'react-hook-form';
3030
import { UUID } from 'crypto';
3131
import { AppState } from '../../../../redux/types';
@@ -51,6 +51,7 @@ const equipmentTypes: string[] = [
5151
EquipmentType.SHUNT_COMPENSATOR,
5252
EquipmentType.STATIC_VAR_COMPENSATOR,
5353
EquipmentType.HVDC_LINE,
54+
EquipmentType.DANGLING_LINE,
5455
];
5556

5657
const equipmentColorsMap: Map<string, string> = new Map([
@@ -61,6 +62,7 @@ const equipmentColorsMap: Map<string, string> = new Map([
6162
[EquipmentType.SHUNT_COMPENSATOR, red[700]],
6263
[EquipmentType.STATIC_VAR_COMPENSATOR, lime[700]],
6364
[EquipmentType.HVDC_LINE, teal[700]],
65+
[EquipmentType.DANGLING_LINE, cyan[700]],
6466
]);
6567

6668
export default function ContingencyListFilterBasedForm() {

0 commit comments

Comments
 (0)