We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1443952 commit 2f43c02Copy full SHA for 2f43c02
frontend/helpers.js
@@ -559,14 +559,13 @@ export function generateRandomDataForDemo(startDate, endDate) {
559
// in each week we want to generate some random number of scans
560
for (const weekObj of calendarWeeks) {
561
// after 14+some weeks we stop adding scans, so we get some nice sla violations
562
- if (count++ > (14 + getRandomNumber(12))) {
+ if (count++ > 14 + getRandomNumber(12)) {
563
continue;
564
}
565
566
const numScans = getRandomNumber(10); // scans in this week
567
568
for (let scanIdx = 0; scanIdx < numScans; scanIdx++) {
569
- console.log(weekObj);
570
const firstDayOfWeek = moment()
571
.year(weekObj.year)
572
.isoWeek(weekObj.week)
0 commit comments