Move files around to confuse James and Erik
This commit is contained in:
1 parent
b5070dd518
commit
715377c565
21 files changed
+122
-101
No files matched your search
@@ -2,7 +2,7 @@ import React, { useState, useEffect, useCallback } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
//
|
||||
import { StudyBrowser, useImageViewer } from '@ohif/ui';
|
||||
import { dicomMetadataStore } from '@ohif/core';
|
||||
import { DicomMetadataStore } from '@ohif/core';
|
||||
// This has to import from somewhere else...
|
||||
|
||||
function PanelStudyBrowser({
|
||||
@@ -46,8 +46,10 @@ function PanelStudyBrowser({
|
||||
}
|
||||
|
||||
StudyInstanceUIDs.forEach(sid => fetchStudiesForPatient(sid));
|
||||
}, [StudyInstanceUIDs, getStudiesForPatientByStudyInstanceUID]);
|
||||
|
||||
}, [
|
||||
StudyInstanceUIDs,
|
||||
getStudiesForPatientByStudyInstanceUID,
|
||||
]);
|
||||
|
||||
const updateThumbnailMap = (displaySetInstanceUID, imageSrc) => {
|
||||
setThumbnailImageSrcMap(
|
||||
|
||||
@@ -2,7 +2,7 @@ async function getStudiesForPatientByStudyInstanceUID(
|
||||
dataSource,
|
||||
StudyInstanceUID
|
||||
) {
|
||||
// TODO: The `dicomMetadataStore` should short-circuit both of these requests
|
||||
// TODO: The `DicomMetadataStore` should short-circuit both of these requests
|
||||
// Data _could_ be here from route query, or if using JSON data source
|
||||
// We could also force this to "await" these values being available in the DICOMStore?
|
||||
// Kind of like promise fulfillment in cornerstone-wado-image-loader when there are multiple
|
||||
@@ -18,6 +18,6 @@ async function getStudiesForPatientByStudyInstanceUID(
|
||||
patientId: getStudyResult[0].mrn,
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export default getStudiesForPatientByStudyInstanceUID;
|
||||
Reference in new issue
Block a user