Minor adjustments to results table
This commit is contained in:
@@ -176,7 +176,7 @@ const translations = {
|
||||
"results.rank": "Rang",
|
||||
"results.game": "Spiel",
|
||||
"results.author": "Autor",
|
||||
"results.votesList": "Stimmen (Emojis)",
|
||||
"results.votesList": "Stimmen",
|
||||
"results.myVote": "Deine Stimme",
|
||||
"results.links": "Links",
|
||||
"results.link.site": "Webseite ↗",
|
||||
|
||||
@@ -588,7 +588,7 @@ export function neutralEmoji() {
|
||||
function formatVotes(votes) {
|
||||
if (!Array.isArray(votes) || votes.length === 0) return "—";
|
||||
const sorted = [...votes].sort((a, b) => a - b);
|
||||
return sorted.map((v) => scoreToEmoji(v)).join(" ");
|
||||
return sorted.map((v) => scoreToEmoji(v)).join("");
|
||||
}
|
||||
|
||||
function formatMyVote(score) {
|
||||
|
||||
Reference in New Issue
Block a user