MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / onComplete

Function onComplete

renderer.js:11983–11991  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected