chore(ohif-studylist): Remove OHIF.studylist.classes deprecation notice
This commit is contained in:
parent
6511198c90
commit
024fe1a448
@ -10,16 +10,6 @@ OHIF.studylist.functions = {
|
|||||||
getStudyPriorsMap
|
getStudyPriorsMap
|
||||||
};
|
};
|
||||||
|
|
||||||
// Add deprecation notice to the OHIF.studylist.classes namespace
|
|
||||||
const note = 'OHIF.studylist.classes is deprecated.';
|
|
||||||
const instructions = 'Please use OHIF.studies.classes instead.';
|
|
||||||
Object.defineProperty(OHIF.studylist, 'classes', {
|
|
||||||
get() {
|
|
||||||
OHIF.log.warn(`${note}\n${instructions}`);
|
|
||||||
return OHIF.studies.classes;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
const dblClickOnStudy = data => {
|
const dblClickOnStudy = data => {
|
||||||
Router.go('viewerStudies', { studyInstanceUids: data.studyInstanceUid });
|
Router.go('viewerStudies', { studyInstanceUids: data.studyInstanceUid });
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user