gamehistory: fix: url to game is right

This commit is contained in:
starnakin 2024-05-13 13:53:30 +02:00
parent d75732d8b3
commit 570b19134f

View File

@ -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");