File tree Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @gns-science/toshi-nest" ,
3
- "version" : " 3.9.5 " ,
3
+ "version" : " 3.9.6 " ,
4
4
"description" : " The toshi-nest is for fledgling work e.g. reusable Node components to share across TUI and other projects" ,
5
5
"main" : " dist/index.cjs.js" ,
6
6
"module" : " dist/index.esm.js" ,
Original file line number Diff line number Diff line change @@ -70,14 +70,29 @@ export const MfdPlot = ({
70
70
style = { { zIndex : 120001 } }
71
71
>
72
72
< RadioGroup aria-labelledby = "radio-buttons-group-label" defaultValue = "Incremental" name = "radio-buttons-group" onChange = { handleRadioChange } >
73
- < MenuItem >
74
- < FormControlLabel checked = { linesToDisplay === 'Incremental' } value = "Incremental" control = { < Radio /> } label = "Incremental" />
73
+ < MenuItem
74
+ onClick = { ( ) => {
75
+ setLinesToDisplay ( 'Incremental' ) ;
76
+ handleClose ( ) ;
77
+ } }
78
+ >
79
+ < FormControlLabel onClick = { handleClose } checked = { linesToDisplay === 'Incremental' } value = "Incremental" control = { < Radio /> } label = "Incremental" />
75
80
</ MenuItem >
76
- < MenuItem >
77
- < FormControlLabel checked = { linesToDisplay === 'Cumulative' } value = "Cumulative" control = { < Radio /> } label = "Cumulative" />
81
+ < MenuItem
82
+ onClick = { ( ) => {
83
+ setLinesToDisplay ( 'Cumulative' ) ;
84
+ handleClose ( ) ;
85
+ } }
86
+ >
87
+ < FormControlLabel onClick = { handleClose } checked = { linesToDisplay === 'Cumulative' } value = "Cumulative" control = { < Radio /> } label = "Cumulative" />
78
88
</ MenuItem >
79
- < MenuItem >
80
- < FormControlLabel checked = { linesToDisplay === 'Both' } value = "Both" control = { < Radio /> } label = "Both" />
89
+ < MenuItem
90
+ onClick = { ( ) => {
91
+ setLinesToDisplay ( 'Both' ) ;
92
+ handleClose ( ) ;
93
+ } }
94
+ >
95
+ < FormControlLabel onClick = { handleClose } checked = { linesToDisplay === 'Both' } value = "Both" control = { < Radio /> } label = "Both" />
81
96
</ MenuItem >
82
97
</ RadioGroup >
83
98
</ Menu >
You can’t perform that action at this time.
0 commit comments