@@ -128,23 +128,23 @@ const ContentContextualMenu = (props) => {
128
128
descriptionItem ,
129
129
sourceItemUuid ,
130
130
parentDirectoryUuid ,
131
- sprecificTypeItem
131
+ specificTypeItem
132
132
) {
133
133
dispatchSelectionForCopy (
134
134
typeItem ,
135
135
nameItem ,
136
136
descriptionItem ,
137
137
sourceItemUuid ,
138
138
parentDirectoryUuid ,
139
- sprecificTypeItem
139
+ specificTypeItem
140
140
) ;
141
141
broadcastChannel . postMessage ( {
142
142
typeItem : typeItem ,
143
143
nameItem : nameItem ,
144
144
descriptionItem : descriptionItem ,
145
145
sourceItemUuid : sourceItemUuid ,
146
146
parentDirectoryUuid : parentDirectoryUuid ,
147
- specificTypeItem : sprecificTypeItem ,
147
+ specificTypeItem : specificTypeItem ,
148
148
} ) ;
149
149
150
150
handleCloseDialog ( ) ;
@@ -173,6 +173,7 @@ const ContentContextualMenu = (props) => {
173
173
case ElementType . SECURITY_ANALYSIS_PARAMETERS :
174
174
case ElementType . SENSITIVITY_PARAMETERS :
175
175
case ElementType . LOADFLOW_PARAMETERS :
176
+ case ElementType . SHORT_CIRCUIT_PARAMETERS :
176
177
console . info (
177
178
activeElement . type +
178
179
' with uuid ' +
@@ -247,6 +248,7 @@ const ContentContextualMenu = (props) => {
247
248
case ElementType . SENSITIVITY_PARAMETERS :
248
249
case ElementType . SECURITY_ANALYSIS_PARAMETERS :
249
250
case ElementType . LOADFLOW_PARAMETERS :
251
+ case ElementType . SHORT_CIRCUIT_PARAMETERS :
250
252
duplicateElement (
251
253
activeElement . elementUuid ,
252
254
undefined ,
@@ -445,6 +447,8 @@ const ContentContextualMenu = (props) => {
445
447
ElementType . SECURITY_ANALYSIS_PARAMETERS ||
446
448
selectedElements [ 0 ] . type ===
447
449
ElementType . SENSITIVITY_PARAMETERS ||
450
+ selectedElements [ 0 ] . type ===
451
+ ElementType . SHORT_CIRCUIT_PARAMETERS ||
448
452
selectedElements [ 0 ] . type === ElementType . LOADFLOW_PARAMETERS )
449
453
) ;
450
454
} , [ selectedElements ] ) ;
0 commit comments