fix cf access login

This commit is contained in:
Purple
2026-01-18 02:19:20 +00:00
parent 9640c6df31
commit 4ae5602646

View File

@@ -417,9 +417,11 @@ function renderAuditLog(entries, pagination) {
// Load shortnames for logo dropdown
async function loadShortnames() {
const select = document.getElementById('logoShortName');
if (!select) return;
try {
const result = await api('shortnames_list');
const select = document.getElementById('logoShortName');
// Keep first option
select.innerHTML = '<option value="">Select or type a shortname...</option>';
@@ -469,6 +471,8 @@ async function loadShortnamesGrid() {
// Load logos grid
async function loadLogosGrid() {
const grid = document.getElementById('logoGrid');
if (!grid) return;
try {
const result = await api('logos_list');