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

This commit is contained in:
Bruno Alves de Faria 2016-06-08 12:32:07 -03:00 committed by Erik Ziegler
parent 4ed13b25b2
commit 093a97f0f3
2 changed files with 2 additions and 2 deletions

View File

@ -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}}

View File

@ -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}`;
}