MCPcopy Create free account
hub / github.com/error311/FileRise / setMcpServiceStatus

Function setMcpServiceStatus

public/js/adminPanel.js:3455–3463  ·  view source on GitHub ↗
(msg, tone = 'muted')

Source from the content-addressed store, hash-verified

3453 };
3454
3455 const setMcpServiceStatus = (msg, tone = 'muted') => {
3456 if (!mcpSvcStatusEl) return;
3457 mcpSvcStatusEl.classList.remove('text-muted', 'text-danger', 'text-success', 'text-warning');
3458 if (tone === 'danger') mcpSvcStatusEl.classList.add('text-danger');
3459 else if (tone === 'success') mcpSvcStatusEl.classList.add('text-success');
3460 else if (tone === 'warning') mcpSvcStatusEl.classList.add('text-warning');
3461 else mcpSvcStatusEl.classList.add('text-muted');
3462 mcpSvcStatusEl.textContent = msg || '';
3463 };
3464
3465 const setMcpJobsStatus = (msg, tone = 'muted') => {
3466 if (!mcpJobsStatusEl) return;

Callers 1

loadMcpServiceStatusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected