File tree Expand file tree Collapse file tree 1 file changed +25
-22
lines changed
src/shared/components/query/studyList Expand file tree Collapse file tree 1 file changed +25
-22
lines changed Original file line number Diff line number Diff line change @@ -405,28 +405,31 @@ export default class StudyList extends QueryStoreComponent<
405405
406406 return content ;
407407 } ) }
408- { study . studyId && study . readPermission === true && (
409- < DefaultTooltip
410- mouseEnterDelay = { 0 }
411- placement = "top"
412- overlay = {
413- < div className = { styles . tooltip } >
414- View clinical and genomic data of this study
415- </ div >
416- }
417- >
418- < span >
419- < StudyLink
420- studyId = { study . studyId }
421- studyName = { study . name }
422- className = { classNames (
423- styles . summaryIcon ,
424- 'ci ci-pie-chart'
425- ) }
426- />
427- </ span >
428- </ DefaultTooltip >
429- ) }
408+ { study . studyId &&
409+ ( study . readPermission === true ||
410+ study . readPermission === undefined ) && (
411+ < DefaultTooltip
412+ mouseEnterDelay = { 0 }
413+ placement = "top"
414+ overlay = {
415+ < div className = { styles . tooltip } >
416+ View clinical and genomic data of this
417+ study
418+ </ div >
419+ }
420+ >
421+ < span >
422+ < StudyLink
423+ studyId = { study . studyId }
424+ studyName = { study . name }
425+ className = { classNames (
426+ styles . summaryIcon ,
427+ 'ci ci-pie-chart'
428+ ) }
429+ />
430+ </ span >
431+ </ DefaultTooltip >
432+ ) }
430433 { getServerConfig ( )
431434 . skin_home_page_show_unauthorized_studies &&
432435 study . studyId &&
You can’t perform that action at this time.
0 commit comments