mirror of
https://github.com/discourse/discourse.git
synced 2025-04-08 08:51:41 +08:00
FIX: show time on activity column instead of random number
This commit is contained in:
parent
20ceadffaf
commit
a30165ab8d
@ -346,7 +346,7 @@ export default createPreviewComponent(659, 320, {
|
|||||||
ctx.font = `${bodyFontSize}em 'Arial'`;
|
ctx.font = `${bodyFontSize}em 'Arial'`;
|
||||||
for (let j = 3; j <= 5; j++) {
|
for (let j = 3; j <= 5; j++) {
|
||||||
ctx.fillText(
|
ctx.fillText(
|
||||||
Math.floor(Math.random() * 90) + 10,
|
j === 5 ? "1h" : Math.floor(Math.random() * 90) + 10,
|
||||||
cols[j] + margin,
|
cols[j] + margin,
|
||||||
y + rowHeight * 0.7
|
y + rowHeight * 0.7
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user