gamehistory: fix: url to game is right
This commit is contained in:
parent
d75732d8b3
commit
570b19134f
@ -87,7 +87,7 @@ export default class extends AbstractView {
|
|||||||
games.forEach(game => {
|
games.forEach(game => {
|
||||||
|
|
||||||
let a = document.createElement("a");
|
let a = document.createElement("a");
|
||||||
a.href = `/games/${game.id}/0`;
|
a.href = `/games/${game.game_type}/${game.id}`;
|
||||||
a.setAttribute("data-link", true);
|
a.setAttribute("data-link", true);
|
||||||
|
|
||||||
let game_item = document.createElement("div");
|
let game_item = document.createElement("div");
|
||||||
|
Loading…
Reference in New Issue
Block a user