Skip to content

Commit 46feffb

Browse files
authored
add CREATE_VOLTAGE_LEVEL_SECTION to useModificationLabelComputer (#821)
Signed-off-by: Rehili Ghazwa <[email protected]>
1 parent 88136e2 commit 46feffb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hooks/useModificationLabelComputer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export const useModificationLabelComputer = () => {
9898
});
9999
case MODIFICATION_TYPES.CREATE_COUPLING_DEVICE.type:
100100
case MODIFICATION_TYPES.CREATE_VOLTAGE_LEVEL_TOPOLOGY.type:
101+
case MODIFICATION_TYPES.CREATE_VOLTAGE_LEVEL_SECTION.type:
101102
return modificationMetadata.voltageLevelId;
102103
default:
103104
return modificationMetadata.equipmentId || '';

0 commit comments

Comments
 (0)