chore(ohif-studylist): Remove OHIF.studylist.classes deprecation notice

This commit is contained in:
Erik Ziegler 2018-09-17 11:21:14 +02:00
parent 6511198c90
commit 024fe1a448

View File

@ -10,16 +10,6 @@ OHIF.studylist.functions = {
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 => {
Router.go('viewerStudies', { studyInstanceUids: data.studyInstanceUid });
};