From 5306eba858af2baddefadc5211210b3d8e82eca4 Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Mon, 27 Jul 2020 15:32:22 +0200 Subject: [PATCH] Fix result display issue --- toolbox.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/toolbox.js b/toolbox.js index fcfb7a0..ca102f7 100644 --- a/toolbox.js +++ b/toolbox.js @@ -88,9 +88,9 @@ function jobFormatter(job, hosts, callback) { } if (job.test_name) - view.testString = `Benchmark: ${job.test_name}`; + view.testString = `Benchmark: ${job.test_name}
`; else if (job.custom_benchmark_file) - view.testString = `Custom benchmark: ${job.custom_benchmark_file.name}`; + view.testString = `Custom benchmark: ${job.custom_benchmark_file.name}
`; if (job.startTime && job.status === "running") { view.spinnerVisible = "visible"; @@ -135,9 +135,6 @@ function jobFormatter(job, hosts, callback) { job.status == "cancelling" ? "disabled" : ""}>Cancel`; } - if (view.timeEstimate) - view.timeEstimate = `
${view.timeEstimate}` - console.log(job, view); // Return a formatted HTML string of the job to insert into the page. fetch(`http://${domain}:${webPort}/templates/job.mustache`) -- GitLab