Update index.html
Browse files- index.html +4 -2
index.html
CHANGED
|
@@ -43,7 +43,7 @@
|
|
| 43 |
dataPath: "./results.yaml",
|
| 44 |
modelColumnLabel: "model",
|
| 45 |
taskGroups: [],
|
| 46 |
-
defaultSort: { key: "
|
| 47 |
maxFractionDigits: 4
|
| 48 |
};
|
| 49 |
|
|
@@ -641,7 +641,9 @@
|
|
| 641 |
state.taskGroups = normalizedData.taskGroups;
|
| 642 |
|
| 643 |
if (!getColumnDefinition(state.sort.key)) {
|
| 644 |
-
state.sort =
|
|
|
|
|
|
|
| 645 |
}
|
| 646 |
|
| 647 |
buildTableHead();
|
|
|
|
| 43 |
dataPath: "./results.yaml",
|
| 44 |
modelColumnLabel: "model",
|
| 45 |
taskGroups: [],
|
| 46 |
+
defaultSort: { key: "Exogenous Context Discrimination::All", direction: "desc" },
|
| 47 |
maxFractionDigits: 4
|
| 48 |
};
|
| 49 |
|
|
|
|
| 641 |
state.taskGroups = normalizedData.taskGroups;
|
| 642 |
|
| 643 |
if (!getColumnDefinition(state.sort.key)) {
|
| 644 |
+
state.sort = getColumnDefinition(TABLE_CONFIG.defaultSort.key)
|
| 645 |
+
? { ...TABLE_CONFIG.defaultSort }
|
| 646 |
+
: { key: "model", direction: "asc" };
|
| 647 |
}
|
| 648 |
|
| 649 |
buildTableHead();
|