Skip to content

A platform for community discussion. Free, open, simple.

FIX: show time on activity column instead of random number

Arpit Jalana30165ab8d8e
diff --git a/app/assets/javascripts/wizard/components/homepage-preview.js.es6 b/app/assets/javascripts/wizard/components/homepage-preview.js.es6
index 7abe275f9c8..51ae3c21886 100644
--- a/app/assets/javascripts/wizard/components/homepage-preview.js.es6
+++ b/app/assets/javascripts/wizard/components/homepage-preview.js.es6
@@ -346,7 +346,7 @@ export default createPreviewComponent(659, 320, {
ctx.font = `${bodyFontSize}em 'Arial'`;
for (let j = 3; j <= 5; j++) {
ctx.fillText(
- Math.floor(Math.random() * 90) + 10,
+ j === 5 ? "1h" : Math.floor(Math.random() * 90) + 10,
cols[j] + margin,
y + rowHeight * 0.7
);