MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / loadHealth

Function loadHealth

deployments/desktop/static/desktop.js:2083–2086  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2081 }
2082
2083 async function loadHealth() {
2084 const data = await api("/api/health");
2085 $("healthText").textContent = DEMO_MODE ? ui().health.demo : data.database_exists ? ui().health.ready : ui().health.init;
2086 }
2087
2088 function defaultCheckedForSource(index, mode = "none") {
2089 if (mode === "all") return true;

Callers 1

initFunction · 0.85

Calls 3

uiFunction · 0.85
apiFunction · 0.70
$Function · 0.70

Tested by

no test coverage detected