Commit 6016616 1 parent ba6f80a commit 6016616 Copy full SHA for 6016616
File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ const Discovery: React.FunctionComponent<Props> = (props: Props) => {
327
327
setModalVisible ( true ) ;
328
328
} else {
329
329
// eslint-disable-next-line no-console
330
- console . error ( `Could not find study with UID ${ studyID } .` ) ;
330
+ console . error ( `Could not find data with UID ${ studyID } .` ) ;
331
331
}
332
332
}
333
333
} , [ props . params . studyUID , props . studies ] ) ;
@@ -599,7 +599,7 @@ const Discovery: React.FunctionComponent<Props> = (props: Props) => {
599
599
overlayClassName = 'discovery-popover'
600
600
placement = 'topRight'
601
601
arrowPointAtCenter
602
- title = { 'You have access to this study .' }
602
+ title = { 'You have access to this data .' }
603
603
content = { (
604
604
< div className = 'discovery-popover__text' >
605
605
< React . Fragment > You have < code > { ARBORIST_READ_PRIV } </ code > access to</ React . Fragment >
@@ -622,7 +622,7 @@ const Discovery: React.FunctionComponent<Props> = (props: Props) => {
622
622
overlayClassName = 'discovery-popover'
623
623
placement = 'topRight'
624
624
arrowPointAtCenter
625
- title = { 'You do not have access to this study .' }
625
+ title = { 'You do not have access to this data .' }
626
626
content = { (
627
627
< div className = 'discovery-popover__text' >
628
628
< React . Fragment > You don't have < code > { ARBORIST_READ_PRIV } </ code > access to</ React . Fragment >
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ const accessDescriptor = (resource: DiscoveryResource) => {
102
102
< Alert
103
103
className = 'discovery-modal__access-alert'
104
104
type = 'success'
105
- message = { < React . Fragment > < UnlockOutlined /> You have access to this study .</ React . Fragment > }
105
+ message = { < React . Fragment > < UnlockOutlined /> You have access to this data .</ React . Fragment > }
106
106
/>
107
107
) ;
108
108
}
@@ -111,15 +111,15 @@ const accessDescriptor = (resource: DiscoveryResource) => {
111
111
< Alert
112
112
className = 'discovery-modal__access-alert'
113
113
type = 'warning'
114
- message = { < React . Fragment > You do not have access to this study .</ React . Fragment > }
114
+ message = { < React . Fragment > You do not have access to this data .</ React . Fragment > }
115
115
/>
116
116
) ;
117
117
}
118
118
return (
119
119
< Alert
120
120
className = 'discovery-modal__access-alert'
121
121
type = 'info'
122
- message = { < React . Fragment > This study does not include data access authorization details.</ React . Fragment > }
122
+ message = { < React . Fragment > This does not include data access authorization details.</ React . Fragment > }
123
123
/>
124
124
) ;
125
125
} ;
@@ -401,14 +401,14 @@ const DiscoveryDetails = (props: Props) => {
401
401
< Alert
402
402
className = 'discovery-modal__access-alert'
403
403
type = 'success'
404
- message = { < React . Fragment > < UnlockOutlined /> You have access to this study .</ React . Fragment > }
404
+ message = { < React . Fragment > < UnlockOutlined /> You have access to this data .</ React . Fragment > }
405
405
/>
406
406
)
407
407
: (
408
408
< Alert
409
409
className = 'discovery-modal__access-alert'
410
410
type = 'warning'
411
- message = { < React . Fragment > You do not have access to this study .</ React . Fragment > }
411
+ message = { < React . Fragment > You do not have access to this data .</ React . Fragment > }
412
412
/>
413
413
)
414
414
) }
You can’t perform that action at this time.
0 commit comments