%- include("../base/header", { title: "Unlocked Badge Management", userId: session.userId, isAdmin: true }) %>
Unlocked Badge Management
<% for (const badge of badges) { %>
<% const unlockArray = unlockByBadgeId.get(badge.Id) ?? []; %>
.length === 0 ? )
" width="32" height="32" />
<%= badge.Name %>
<%= unlockArray.length %>
<% for (const unlock of unlockArray) { %>
<% } %>
<% } %>
<%- include("../base/footer", { apiKey: session.apiKey, username: session.username }) %>