Remove console logging

pull/941/head
M 2025-05-26 16:25:05 +02:00
parent fc2e65473a
commit 732f072cd4
1 changed files with 0 additions and 11 deletions

View File

@ -52,7 +52,6 @@ export default {
.then((response) => {
// Apply filtering by groups, if defined
if (this.item.groups) {
console.log("Applying filters");
response = response?.filter((job) => {
return this.item.groups.includes(job.group) === true;
})
@ -70,8 +69,6 @@ export default {
};
// Update array of average times
console.log("Total before: " + totalrestime);
let totalduration = 0;
let rescounter = 0;
job.results.forEach((res) => {
@ -79,23 +76,15 @@ export default {
rescounter++;
})
console.log("Job duration: " + totalduration);
totalrestime += totalduration;
totalresults += rescounter;
console.log("Total after: " + totalrestime);
console.log("Total counter: " + totalresults);
})
// Rest are down
this.down = this.total - this.up;
console.log("Total jobs UP: " + this.up + " DOWN: " + this.down + " TOTAL: " + this.total);
// Calculate overall average response time
this.avgRespTime = (totalrestime / totalresults).toFixed(2);
console.log("Average: " + this.avgRespTime);
// Update representations
if (this.up == 0 || this.total == 0) {