UX: Fix activity column display in wizard homepage step

UX: Fix activity column display in wizard homepage step

Followup to f8f281cdad6574be88fa0c429e51363ae30b42a8, thanks @jjaffeux

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

GitHub sha: a98182de

2 Likes