v0.6.4: show match id on match cards.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
voson
2026-07-30 11:29:29 +08:00
co-authored by Cursor
parent 79ce5cfd2e
commit fefd8c7823
6 changed files with 23 additions and 7 deletions
+4
View File
@@ -1871,6 +1871,10 @@ function buildMatchCard(heroKey, row, opts = {}) {
const links = document.createElement("span");
links.className = "match-links";
if (row.match_id) {
const matchId = document.createElement("span");
matchId.className = "match-id";
matchId.textContent = String(row.match_id);
links.appendChild(matchId);
const matchLink = document.createElement("a");
matchLink.className = "match-opendota";
matchLink.href = `https://www.dotabuff.com/matches/${row.match_id}`;