revert
Browse files- app/src/plot_task.js +1 -1
app/src/plot_task.js
CHANGED
@@ -276,7 +276,7 @@ async function getMetricsForTask(langCode, task) {
|
|
276 |
download: true,
|
277 |
header: true,
|
278 |
complete: function(results) {
|
279 |
-
const metrics = [...new Set(results.data.map(row => row.metric))];
|
280 |
resolve(metrics);
|
281 |
},
|
282 |
error: function(error) {
|
|
|
276 |
download: true,
|
277 |
header: true,
|
278 |
complete: function(results) {
|
279 |
+
const metrics = [...new Set(results.data.map(row => row.metric).filter(metric => metric))];
|
280 |
resolve(metrics);
|
281 |
},
|
282 |
error: function(error) {
|