pass servicesManager and extensionManager all the way to our UI prompts; use in exposed createReportAsync call
This commit is contained in:
1 parent
9fb3fe6dc2
commit
c8f48cf1fe
5 files changed
+68
-24
No files matched your search
+2
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user