Final adjustments on quickSwitch

This commit is contained in:
Bruno Alves de Faria committed 2017-10-25 22:20:43 -02:00
1 parent 89f6bd4610
commit 37137b9331
13 files changed
+170 -80

No files matched your search

@@ -192,11 +192,11 @@ class TimepointApi {
}
// Return only the key timepoints (current, prior, nadir and baseline)
key() {
key(filter={}) {
const result = [];
// Get all the timepoints
const all = this.all();
const all = this.all(filter);
// Iterate over each timepoint and insert the key ones in the result
_.each(all, (timepoint, index) => {