LT-247: Disabling selection and fixing follow-up title

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-07-22 11:00:16 +02:00
1 parent 4ed13b25b2
commit 093a97f0f3
2 files changed
+2 -2

No files matched your search

@@ -1,5 +1,5 @@
<template name="studyTimepointBrowser">
<div class="studyTimepointBrowser">
<div class="studyTimepointBrowser noselect">
<div class="studyTimepointScrollArea">
<div class="p-x-1">
{{#each timepoint in timepoints}}
@@ -61,7 +61,7 @@ Template.studyTimepointBrowser.helpers({
2: '(Nadir)'
};
// TODO: [design] find out how to define the nadir timepoint
const followUp = total - index;
const followUp = total - index - 1;
const parenthesis = states[index] || '';
return `Follow-up ${followUp} ${parenthesis}`;
}