()
| 11981 | if (configEl) configEl.textContent = mcpClientConfigJson(url); |
| 11982 | |
| 11983 | const statusEl = document.getElementById('mcp-server-status'); |
| 11984 | if (statusEl) { |
| 11985 | if (serverMode) { |
| 11986 | statusEl.textContent = 'Status: MCP endpoint is available on this server.'; |
| 11987 | } else if (check?.checked && info && info.running) { |
| 11988 | statusEl.textContent = 'Status: Listening at ' + url; |
| 11989 | } else if (check?.checked) { |
| 11990 | statusEl.textContent = 'Status: Enabled. Click Save to start the listener.'; |
| 11991 | } else { |
| 11992 | statusEl.textContent = 'Status: Disabled. Enable and Save to start the listener while Printventory is running.'; |
| 11993 | } |
| 11994 | } |
nothing calls this directly
no outgoing calls
no test coverage detected