LT-292: Fixing current and prior order on timepoints

This commit is contained in:
Bruno Alves de Faria 2016-11-09 08:41:53 -02:00 committed by Erik Ziegler
parent 18935a7131
commit 42ae22afab

View File

@ -202,7 +202,7 @@ class TimepointApi {
title(timepoint) {
const timepointName = this.name(timepoint);
const all = this.all();
const all = _.clone(this.all()).reverse();
let index = -1;
_.each(all, (currentTimepoint, currentIndex) => {
if (currentTimepoint.timepointId === timepoint.timepointId) {