LT-337: Allow study association for a single selected study, and make association modal text easier to read

This commit is contained in:
Erik Ziegler committed 2016-11-19 17:21:16 +01:00
1 parent 68ebe59737
commit 47e52e46a3
3 files changed
+15 -9

No files matched your search

@@ -13,6 +13,7 @@ function getAssociationAssessment() {
selected: 0,
associated: 0
};
// check if timepointApi is available
const timepointApi = StudyList.timepointApi;
if (timepointApi) {
@@ -43,7 +44,7 @@ Template.longitudinalStudyListContextMenu.helpers({
const assessment = getAssociationAssessment();
// if (assessment.selected < 1 || assessment.associated > 0) {
// TODO: REMOVE - Temporary for RSNA
if (assessment.selected < 2) {
if (assessment.selected < 1) {
classList += disabledClass;
}