@@ -253,38 +253,42 @@ export const MoreMenuCell = ({ patient }) => {
253253 } ;
254254
255255 return (
256- < PopoverMenu
257- id = { `action-menu-${ patient ?. id } ` }
258- items = { [ {
259- icon : EditIcon ,
260- iconLabel : t ( 'Edit Patient Details' ) ,
261- iconPosition : 'left' ,
262- id : `edit-${ patient ?. id } ` ,
263- variant : 'actionListItem' ,
264- onClick : ( _popupState ) => {
265- _popupState . close ( ) ;
266- handleOpenEditPatientDialog ( ) ;
267- } ,
268- text : t ( 'Edit Patient Details' ) ,
269- } , {
270- iconSrc : DataInIcon ,
271- iconLabel : t ( 'Bring Data into Tidepool' ) ,
272- iconPosition : 'left' ,
273- id : `edit-data-connections-${ patient ?. id } ` ,
274- variant : 'actionListItem' ,
275- onClick : ( _popupState ) => {
276- _popupState . close ( ) ;
277- handleOpenDataConnectionsModal ( ) ;
278- } ,
279- text : t ( 'Bring Data into Tidepool' ) ,
280- } ] }
281- sx = { { position : 'relative' , left : '-2px' } }
282- />
256+ < Box onClick = { event => event . stopPropagation ( ) } >
257+ < PopoverMenu
258+ id = { `action-menu-${ patient ?. id } ` }
259+ items = { [ {
260+ icon : EditIcon ,
261+ iconLabel : t ( 'Edit Patient Details' ) ,
262+ iconPosition : 'left' ,
263+ id : `edit-${ patient ?. id } ` ,
264+ variant : 'actionListItem' ,
265+ onClick : ( _popupState ) => {
266+ _popupState . close ( ) ;
267+ handleOpenEditPatientDialog ( ) ;
268+ } ,
269+ text : t ( 'Edit Patient Details' ) ,
270+ } , {
271+ iconSrc : DataInIcon ,
272+ iconLabel : t ( 'Bring Data into Tidepool' ) ,
273+ iconPosition : 'left' ,
274+ id : `edit-data-connections-${ patient ?. id } ` ,
275+ variant : 'actionListItem' ,
276+ onClick : ( _popupState ) => {
277+ _popupState . close ( ) ;
278+ handleOpenDataConnectionsModal ( ) ;
279+ } ,
280+ text : t ( 'Bring Data into Tidepool' ) ,
281+ } ] }
282+ sx = { { position : 'relative' , left : '-2px' } }
283+ />
284+ </ Box >
283285 ) ;
284286} ;
285287
286288export const PatientLastReviewedCell = ( { patient } ) => {
287- return < PatientLastReviewed patient = { patient } /> ;
289+ return < Box onClick = { event => event . stopPropagation ( ) } >
290+ < PatientLastReviewed patient = { patient } />
291+ </ Box > ;
288292} ;
289293
290294export default {
0 commit comments