@@ -143,7 +143,7 @@ export default function FishboneChart(props) {
143
143
{ fragment }
144
144
</ div >
145
145
< div style = { { position : 'relative' , width :'5%' } } >
146
- < IconButton id = { `rcMore_${ keyFrag } ` } onClick = { handleMenuClick } size = "small" > < MoreVertIcon fontSize = "small" /> </ IconButton >
146
+ < IconButton id = { `rcMore_${ keyFrag } ` } onClick = { handleMenuClick } color = "secondary" size = "small" > < MoreVertIcon fontSize = "small" /> </ IconButton >
147
147
< Menu key = { `cm_root_causes_${ keyFrag } ` } anchorEl = { menuAnchorEl } keepMounted open = { menuOpen === `rcMore_${ keyFrag } ` } onClose = { handleMenuClose } >
148
148
{ props . rootCauseContextMenu . filter ( m => m !== undefined ) . map ( ( menuItem , index ) => < MenuItem onClick = { ( event ) => { handleMenuClose ( ) ; menuItem ?. cb ( props . data , effectIndex , category , rootCause ) ; } } > { menuItem . text } </ MenuItem > ) }
149
149
</ Menu >
@@ -178,7 +178,7 @@ export default function FishboneChart(props) {
178
178
< OnBlurInputBase style = { { height : '1em' } } margin = 'dense' value = { category . name } onChange = { ( event ) => props . onChange ( category , event , 'name' ) } />
179
179
{ props . categoryContextMenu && props . categoryContextMenu . length > 0 && /* todo race cond if all items are undefined... */
180
180
< React . Fragment >
181
- < IconButton id = { `top_cat_${ index } ` } onClick = { handleMenuClick } size = "small" > < MoreVertIcon fontSize = "small" /> </ IconButton >
181
+ < IconButton id = { `top_cat_${ index } ` } onClick = { handleMenuClick } color = "secondary" size = "small" > < MoreVertIcon fontSize = "small" /> </ IconButton >
182
182
< Menu id = { `top_cat_${ index } ` } anchorEl = { menuAnchorEl } keepMounted open = { menuOpen === `top_cat_${ index } ` } onClose = { handleMenuClose } >
183
183
{ props . categoryContextMenu . filter ( m => m !== undefined ) . map ( ( menuItem , index ) => < MenuItem onClick = { ( ) => { handleMenuClose ( ) ; menuItem ?. cb ( props . data , effectIndex , category ) ; } } > { menuItem . text } </ MenuItem > ) }
184
184
</ Menu >
@@ -203,7 +203,7 @@ export default function FishboneChart(props) {
203
203
< OnBlurInputBase style = { { height : '1em' } } margin = 'dense' value = { category . name } onChange = { ( event ) => props . onChange ( category , event , 'name' ) } />
204
204
{ props . categoryContextMenu && props . categoryContextMenu . length > 0 &&
205
205
< React . Fragment >
206
- < IconButton id = { `bottom_cat_${ index } ` } onClick = { handleMenuClick } size = "small" > < MoreVertIcon fontSize = "small" /> </ IconButton >
206
+ < IconButton id = { `bottom_cat_${ index } ` } onClick = { handleMenuClick } color = "secondary" size = "small" > < MoreVertIcon fontSize = "small" /> </ IconButton >
207
207
< Menu id = { `bottom_cat_${ index } ` } anchorEl = { menuAnchorEl } keepMounted open = { menuOpen === `bottom_cat_${ index } ` } onClose = { handleMenuClose } >
208
208
{ props . categoryContextMenu . filter ( m => m !== undefined ) . map ( ( menuItem , index ) => < MenuItem onClick = { ( ) => { handleMenuClose ( ) ; menuItem ?. cb ( props . data , effectIndex , category ) ; } } > { menuItem . text } </ MenuItem > ) }
209
209
</ Menu >
@@ -237,7 +237,7 @@ export default function FishboneChart(props) {
237
237
</ div >
238
238
{ props . effectContextMenu && props . effectContextMenu . length > 0 &&
239
239
< React . Fragment >
240
- < IconButton id = { `effect_${ effectIndex } ` } onClick = { handleMenuClick } size = "small" > < MoreVertIcon fontSize = "small" /> </ IconButton >
240
+ < IconButton id = { `effect_${ effectIndex } ` } onClick = { handleMenuClick } color = "secondary" size = "small" > < MoreVertIcon fontSize = "small" /> </ IconButton >
241
241
< Menu anchorEl = { menuAnchorEl } keepMounted open = { menuOpen === `effect_${ effectIndex } ` } onClose = { handleMenuClose } >
242
242
{ props . effectContextMenu . filter ( e => e !== undefined ) . map ( ( menuItem , index ) => < MenuItem onClick = { ( ) => { handleMenuClose ( ) ; menuItem ?. cb ( props . data , effectIndex ) ; } } > { menuItem . text } </ MenuItem > ) }
243
243
</ Menu >
0 commit comments