@@ -250,38 +250,42 @@ export const MoreMenuCell = ({ patient }) => {
250250 } ;
251251
252252 return (
253- < PopoverMenu
254- id = { `action-menu-${ patient ?. id } ` }
255- items = { [ {
256- icon : EditIcon ,
257- iconLabel : t ( 'Edit Patient Details' ) ,
258- iconPosition : 'left' ,
259- id : `edit-${ patient ?. id } ` ,
260- variant : 'actionListItem' ,
261- onClick : ( _popupState ) => {
262- _popupState . close ( ) ;
263- handleOpenEditPatientDialog ( ) ;
264- } ,
265- text : t ( 'Edit Patient Details' ) ,
266- } , {
267- iconSrc : DataInIcon ,
268- iconLabel : t ( 'Bring Data into Tidepool' ) ,
269- iconPosition : 'left' ,
270- id : `edit-data-connections-${ patient ?. id } ` ,
271- variant : 'actionListItem' ,
272- onClick : ( _popupState ) => {
273- _popupState . close ( ) ;
274- handleOpenDataConnectionsModal ( ) ;
275- } ,
276- text : t ( 'Bring Data into Tidepool' ) ,
277- } ] }
278- sx = { { position : 'relative' , left : '-2px' } }
279- />
253+ < Box onClick = { event => event . stopPropagation ( ) } >
254+ < PopoverMenu
255+ id = { `action-menu-${ patient ?. id } ` }
256+ items = { [ {
257+ icon : EditIcon ,
258+ iconLabel : t ( 'Edit Patient Details' ) ,
259+ iconPosition : 'left' ,
260+ id : `edit-${ patient ?. id } ` ,
261+ variant : 'actionListItem' ,
262+ onClick : ( _popupState ) => {
263+ _popupState . close ( ) ;
264+ handleOpenEditPatientDialog ( ) ;
265+ } ,
266+ text : t ( 'Edit Patient Details' ) ,
267+ } , {
268+ iconSrc : DataInIcon ,
269+ iconLabel : t ( 'Bring Data into Tidepool' ) ,
270+ iconPosition : 'left' ,
271+ id : `edit-data-connections-${ patient ?. id } ` ,
272+ variant : 'actionListItem' ,
273+ onClick : ( _popupState ) => {
274+ _popupState . close ( ) ;
275+ handleOpenDataConnectionsModal ( ) ;
276+ } ,
277+ text : t ( 'Bring Data into Tidepool' ) ,
278+ } ] }
279+ sx = { { position : 'relative' , left : '-2px' } }
280+ />
281+ </ Box >
280282 ) ;
281283} ;
282284
283285export const PatientLastReviewedCell = ( { patient } ) => {
284- return < PatientLastReviewed patient = { patient } /> ;
286+ return < Box onClick = { event => event . stopPropagation ( ) } >
287+ < PatientLastReviewed patient = { patient } />
288+ </ Box > ;
285289} ;
286290
287291export default {
0 commit comments