We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53d42f3 commit 3c58c79Copy full SHA for 3c58c79
src/profile.ts
@@ -52,12 +52,12 @@ async function addUserInfo (uok: UsernameOrKaid): Promise<void> {
52
trTag.appendChild(tdLabelTag);
53
const tdEntryTag = document.createElement("td");
54
if (entry !== "More info") {
55
- tdEntryTag.textContent = `${entries[entry]}`;
+ tdEntryTag.textContent = entries[entry].toString();
56
} else {
57
const profileLinkTag = document.createElement("a");
58
profileLinkTag.href = `${userEndpoint}/profile?${uok.type}=${uok.id}&format=pretty`;
59
profileLinkTag.target = "_blank";
60
- profileLinkTag.textContent = `${entries[entry]}`;
+ profileLinkTag.textContent = entries[entry].toString();
61
tdEntryTag.appendChild(profileLinkTag);
62
}
63
trTag.appendChild(tdEntryTag);
0 commit comments