pass servicesManager and extensionManager all the way to our UI prompts; use in exposed createReportAsync call

This commit is contained in:
dannyrb committed 2020-06-30 22:54:09 -04:00
1 parent 9fb3fe6dc2
commit c8f48cf1fe
5 files changed
+68 -24

No files matched your search

@@ -6,7 +6,8 @@ const RESPONSE = {
SET_STUDY_AND_SERIES: 3,
};
function promptUser(UIViewportDialogService, ctx, evt) {
function promptUser({ servicesManager }, ctx, evt) {
const { UIViewportDialogService } = servicesManager.services;
const { viewportIndex, StudyInstanceUID, SeriesInstanceUID } = evt;
return new Promise(async function(resolve, reject) {