Commit ecc8faa 2 people authored and committed
1 parent 859ed50 commit ecc8faa Copy full SHA for ecc8faa
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ class OperatorDetail extends React.Component {
227
227
< div className = "row" >
228
228
< div className = "col-12" >
229
229
< div className = "modal-header" >
230
- < button type = "button" className = "close" data-dismiss = "modal" aria-label = "Close" > < span aria-hidden = "true" > ×</ span > </ button >
230
+ < button type = "button" className = "close" data-bs- dismiss = "modal" aria-label = "Close" > < span aria-hidden = "true" > ×</ span > </ button >
231
231
< h3 >
232
232
< small > Pipeline { operator . pipelineId } </ small >
233
233
< br />
@@ -355,10 +355,11 @@ class StageOperatorGraph extends React.Component {
355
355
}
356
356
357
357
handleOperatorClick ( operatorCssId ) {
358
- $ ( '#operator-detail-modal' ) . modal ( ) ;
358
+ $ ( '#operator-detail-modal' ) . modal ( "show" )
359
+
360
+ const pipelineId = ( operatorCssId ?. target ?. __data__ || "" ) . split ( '-' ) . length > 0 ? parseInt ( operatorCssId ?. target ?. __data__ || "" ) . split ( '-' ) [ 1 ] : 0 ;
361
+ const operatorId = ( operatorCssId ?. target ?. __data__ || "" ) . split ( '-' ) . length > 0 ? parseInt ( operatorCssId ?. target ?. __data__ || "" ) . split ( '-' ) [ 2 ] : 0 ;
359
362
360
- const pipelineId = parseInt ( operatorCssId . split ( '-' ) [ 1 ] ) ;
361
- const operatorId = parseInt ( operatorCssId . split ( '-' ) [ 2 ] ) ;
362
363
const stage = this . props . stage ;
363
364
364
365
let operatorStageSummary = null ;
You can’t perform that action at this time.
0 commit comments