fix thumbnail persistence
This commit is contained in:
1 parent
23a94251fc
commit
4a390bfb66
3 files changed
+59
-60
No files matched your search
@@ -87,23 +87,11 @@ export default function ModeRoute({
|
||||
// Add SOPClassHandlers to a new SOPClassManager.
|
||||
DisplaySetService.init(extensionManager, sopClassHandlers);
|
||||
|
||||
const queryParams = location.search;
|
||||
console.log('queryParams: ', queryParams);
|
||||
|
||||
// Call the data source to start building the view model?
|
||||
// TODO: This should be called on subscription to DicomMetadataStore?
|
||||
// dataSource.retrieve.series.metadata(
|
||||
// queryParams,
|
||||
// DisplaySetService.makeDisplaySets
|
||||
// );
|
||||
|
||||
// TODO: This should be baked into core, not manuel?
|
||||
// DisplaySetService would wire this up?
|
||||
DicomMetadataStore.subscribe(
|
||||
DicomMetadataStore.EVENTS.INSTANCES_ADDED,
|
||||
({ StudyInstanceUID, SeriesInstanceUID }) => {
|
||||
console.warn(`INSTANCES_ADDED::\nStudy:${StudyInstanceUID}\nSeries:${SeriesInstanceUID}`);
|
||||
|
||||
const seriesMetadata = DicomMetadataStore.getSeries(
|
||||
StudyInstanceUID,
|
||||
SeriesInstanceUID
|
||||
|
||||
Reference in new issue
Block a user