test-B evaluations visible in Tables
This commit is contained in:
parent
d645964266
commit
671d0ed650
@ -11,9 +11,13 @@ const orderKeys = (elem) => {
|
|||||||
const testAkeys = elemKeys
|
const testAkeys = elemKeys
|
||||||
.filter((key) => key.split('.')[1] === 'test-A')
|
.filter((key) => key.split('.')[1] === 'test-A')
|
||||||
.sort();
|
.sort();
|
||||||
|
const testBkeys = elemKeys
|
||||||
|
.filter((key) => key.split('.')[1] === 'test-B')
|
||||||
|
.sort();
|
||||||
result = result.concat(dev0keys);
|
result = result.concat(dev0keys);
|
||||||
result = result.concat(dev1keys);
|
result = result.concat(dev1keys);
|
||||||
result = result.concat(testAkeys);
|
result = result.concat(testAkeys);
|
||||||
|
result = result.concat(testBkeys);
|
||||||
result.push('when');
|
result.push('when');
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -159,6 +159,7 @@ const Leaderboard = (props) => {
|
|||||||
|
|
||||||
const n = (pageNr - 1) * (ELEMENTS_PER_PAGE * 2);
|
const n = (pageNr - 1) * (ELEMENTS_PER_PAGE * 2);
|
||||||
const elements = entries.slice(n, n + ELEMENTS_PER_PAGE * 2);
|
const elements = entries.slice(n, n + ELEMENTS_PER_PAGE * 2);
|
||||||
|
console.log(entries);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<FlexColumn
|
<FlexColumn
|
||||||
|
@ -11,9 +11,13 @@ const orderKeys = (elem) => {
|
|||||||
const testAkeys = elemKeys
|
const testAkeys = elemKeys
|
||||||
.filter((key) => key.split('.')[1] === 'test-A')
|
.filter((key) => key.split('.')[1] === 'test-A')
|
||||||
.sort();
|
.sort();
|
||||||
|
const testBkeys = elemKeys
|
||||||
|
.filter((key) => key.split('.')[1] === 'test-B')
|
||||||
|
.sort();
|
||||||
result = result.concat(dev0keys);
|
result = result.concat(dev0keys);
|
||||||
result = result.concat(dev1keys);
|
result = result.concat(dev1keys);
|
||||||
result = result.concat(testAkeys);
|
result = result.concat(testAkeys);
|
||||||
|
result = result.concat(testBkeys);
|
||||||
result.push('times', 'when');
|
result.push('times', 'when');
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -11,9 +11,13 @@ const orderKeys = (elem) => {
|
|||||||
const testAkeys = elemKeys
|
const testAkeys = elemKeys
|
||||||
.filter((key) => key.split('.')[1] === 'test-A')
|
.filter((key) => key.split('.')[1] === 'test-A')
|
||||||
.sort();
|
.sort();
|
||||||
|
const testBkeys = elemKeys
|
||||||
|
.filter((key) => key.split('.')[1] === 'test-B')
|
||||||
|
.sort();
|
||||||
result = result.concat(dev0keys);
|
result = result.concat(dev0keys);
|
||||||
result = result.concat(dev1keys);
|
result = result.concat(dev1keys);
|
||||||
result = result.concat(testAkeys);
|
result = result.concat(testAkeys);
|
||||||
|
result = result.concat(testBkeys);
|
||||||
result.push('when');
|
result.push('when');
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user