feat(hangingProtocols): added selection of the HangingProtocol stage from the url (#4310)
This commit is contained in:
1 parent
e8f9345b93
commit
fa2435d5e9
4 files changed
+26
-6
No files matched your search
@@ -17,7 +17,8 @@ const { sortingCriteria, getSplitParam } = utils;
|
||||
*/
|
||||
export async function defaultRouteInit(
|
||||
{ servicesManager, studyInstanceUIDs, dataSource, filters, appConfig }: withAppTypes,
|
||||
hangingProtocolId
|
||||
hangingProtocolId,
|
||||
stageIndex
|
||||
) {
|
||||
const { displaySetService, hangingProtocolService, uiNotificationService, customizationService } =
|
||||
servicesManager.services;
|
||||
@@ -41,7 +42,9 @@ export async function defaultRouteInit(
|
||||
|
||||
// run the hanging protocol matching on the displaySets with the predefined
|
||||
// hanging protocol in the mode configuration
|
||||
hangingProtocolService.run({ studies, activeStudy, displaySets }, hangingProtocolId);
|
||||
hangingProtocolService.run({ studies, activeStudy, displaySets }, hangingProtocolId, {
|
||||
stageIndex,
|
||||
});
|
||||
}
|
||||
|
||||
const unsubscriptions = [];
|
||||
|
||||
Reference in new issue
Block a user