fix(general): enhancements and bug fixes (#4018)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-04-10 11:34:13 -04:00
1 parent ac0e1c0a2c
commit 2b83393f91
30 files changed
+710 -151

No files matched your search

@@ -66,6 +66,12 @@ function _askTrackMeasurements(uiViewportDialogService, viewportId) {
uiViewportDialogService.hide();
resolve(RESPONSE.CANCEL);
},
onKeyPress: event => {
if (event.key === 'Enter') {
const action = actions.find(action => action.id === 'prompt-begin-tracking-yes');
onSubmit(action.value);
}
},
});
});
}
@@ -65,6 +65,12 @@ function _askTrackMeasurements(UIViewportDialogService, viewportId) {
UIViewportDialogService.hide();
resolve(RESPONSE.CANCEL);
},
onKeyPress: event => {
if (event.key === 'Enter') {
const action = actions.find(action => action.value === RESPONSE.SET_STUDY_AND_SERIES);
onSubmit(action.value);
}
},
});
});
}