v0.6.4: show match id on match cards.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user