Commit 8379bfca authored by William Damgaard Lauritzen's avatar William Damgaard Lauritzen
Browse files

Deleted extra function

parent 9918fa5a
......@@ -18,28 +18,6 @@ function getData () {
}
// Retrieve data.
function makeMyData (data) {
const labels = []
const issues = []
let counter
let usedsteps = []
for (let i of data) {
// Iterate and group data
if (i.step !== usedsteps) {
counter = 0
usedsteps = i.step
labels.push(i.step)
for (let j of data) {
if (usedsteps === j.step) {
counter++
}
}
}
issues.push(counter)
}
return { labels, issues }
}
function makeMyData (data) {
const labels = []
const issues = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment