- Owner
- ${esc(owner)}
- Terms
- ${esc(terms)}
- Rate limit
- ${esc(rate)}
- Daily quota
- ${esc(daily)}
- Health
- ${esc(health)}
- Status
- ${esc(sourceStatus(source))}
diff --git a/apps/web/app.js b/apps/web/app.js index 87f3b81..5082863 100644 --- a/apps/web/app.js +++ b/apps/web/app.js @@ -278,13 +278,21 @@ const sourceText = (source, keys, fallback='Not returned') => { for (const key of keys) if (source?.[key] !== undefined && source[key] !== null && source[key] !== '') return source[key]; return fallback; }; function sourceMessage(text, error = false) { const el = $('sourcesMessage'); if (el) { el.textContent = text || ''; el.className = `sources-message${error ? ' error' : ''}`; } } function renderSourceSelect(){const multi=$('directDiscoverySources'),enabled=sources.filter(sourceState);if(multi)multi.innerHTML=enabled.map(s=>``).join('')||'';const help=$('directDiscoverySourceHelp');if(help)help.textContent=enabled.length?'Select the approved sources to use for this run.':'No enabled sources are available. Configure, test, and enable a source first.';} - function renderSources(){renderSourceSelect();const list=$('sourcesList');if(!sources.length){list.innerHTML='
| ${esc(record.name||record.title||record.id||'Unnamed record')} | ${esc(record.source_name||record.source||'Unknown source')} | ${esc(record.status||'Pending')} |
REVIEW REQUIRED