mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:04:11 +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'`;
|
||||
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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user