LT-292: Fixing current and prior order on timepoints
This commit is contained in:
parent
18935a7131
commit
42ae22afab
@ -202,7 +202,7 @@ class TimepointApi {
|
|||||||
title(timepoint) {
|
title(timepoint) {
|
||||||
const timepointName = this.name(timepoint);
|
const timepointName = this.name(timepoint);
|
||||||
|
|
||||||
const all = this.all();
|
const all = _.clone(this.all()).reverse();
|
||||||
let index = -1;
|
let index = -1;
|
||||||
_.each(all, (currentTimepoint, currentIndex) => {
|
_.each(all, (currentTimepoint, currentIndex) => {
|
||||||
if (currentTimepoint.timepointId === timepoint.timepointId) {
|
if (currentTimepoint.timepointId === timepoint.timepointId) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user