fix(GoogleCloud): Fix Cloud Healthcare file upload buttons (#658)
fix #654
This commit is contained in:
parent
2a281da19f
commit
d4aee36542
@ -234,9 +234,7 @@ class StudyListWithData extends Component {
|
|||||||
console.warn(this.state.studies);
|
console.warn(this.state.studies);
|
||||||
|
|
||||||
const studyList = (
|
const studyList = (
|
||||||
<Dropzone onDrop={onDrop}>
|
<div className="paginationArea">
|
||||||
{({ getRootProps, getInputProps }) => (
|
|
||||||
<div {...getRootProps()} className="paginationArea">
|
|
||||||
{this.state.studies ? (
|
{this.state.studies ? (
|
||||||
<StudyList
|
<StudyList
|
||||||
studies={this.state.studies}
|
studies={this.state.studies}
|
||||||
@ -254,7 +252,9 @@ class StudyListWithData extends Component {
|
|||||||
{healthCareApiWindows}
|
{healthCareApiWindows}
|
||||||
</StudyList>
|
</StudyList>
|
||||||
) : (
|
) : (
|
||||||
<div className={'drag-drop-instructions'}>
|
<Dropzone onDrop={onDrop}>
|
||||||
|
{({ getRootProps, getInputProps }) => (
|
||||||
|
<div {...getRootProps()} className={'drag-drop-instructions'}>
|
||||||
<h3>
|
<h3>
|
||||||
{this.props.t(
|
{this.props.t(
|
||||||
'Drag and Drop DICOM files here to load them in the Viewer'
|
'Drag and Drop DICOM files here to load them in the Viewer'
|
||||||
@ -266,9 +266,9 @@ class StudyListWithData extends Component {
|
|||||||
<input {...getInputProps()} style={{ display: 'none' }} />
|
<input {...getInputProps()} style={{ display: 'none' }} />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</Dropzone>
|
</Dropzone>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user