diff --git a/src/TfsAdvanced/Controllers/HealthController.cs b/src/TfsAdvanced/Controllers/HealthController.cs index 6018f7a..20ddeb8 100644 --- a/src/TfsAdvanced/Controllers/HealthController.cs +++ b/src/TfsAdvanced/Controllers/HealthController.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using TfsAdvanced.DataStore.Repository; @@ -20,7 +21,7 @@ public IActionResult IsLoaded() return Ok(new Dictionary { {"IsLoaded", hangFireStatusRepository.IsLoaded()}, - {"LoadedPercent", hangFireStatusRepository.PercentLoaded()} + {"LoadedPercent", Math.Round(hangFireStatusRepository.PercentLoaded(), 2)} }); } } diff --git a/src/TfsAdvanced/wwwroot/views/jobRequests.html b/src/TfsAdvanced/wwwroot/views/jobRequests.html index e9d2ab0..7d520d1 100644 --- a/src/TfsAdvanced/wwwroot/views/jobRequests.html +++ b/src/TfsAdvanced/wwwroot/views/jobRequests.html @@ -32,7 +32,6 @@ for (var i = 0, ien = json.length; i < ien; i++) { var column = 0; var jobRequest = json[i]; - console.log(jobRequest); json[i][column++] = "" + jobRequest.requestId + ""; if (jobRequest.jobType === 'release')