Added - non-WC queues display pairing type in waiting tables section

This commit is contained in:
jakub.salavec
2025-06-17 15:13:57 +02:00
parent d2bca97c38
commit a5197fd6b6

View File

@@ -920,11 +920,12 @@ var GempLotrHallUI = Class.extend({
// Row for tournament queue waiting table
var tablesRow = $("<tr class='table" + id + "'></tr>");
tablesRow.append("<td>" + queue.getAttribute("format") + "</td>");
let htmlTd = "<td> ";
let htmlTd = "<td>";
if (isWC) {
htmlTd += "WC";
} else {
htmlTd += "Tournament"
// For system, ignore all after ',' (min players)
htmlTd += queue.getAttribute("system").split(',')[0] + " Tournament";
}
htmlTd += " - " + type + " - <div style='display:inline'"
if (type.includes("Table") && queue.hasAttribute("draftCode")) {