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

Function defaultCheckedForSource

deployments/desktop/static/desktop.js:2088–2092  ·  view source on GitHub ↗
(index, mode = "none")

Source from the content-addressed store, hash-verified

2086 }
2087
2088 function defaultCheckedForSource(index, mode = "none") {
2089 if (mode === "all") return true;
2090 if (mode === "first3") return index < 3;
2091 return false;
2092 }
2093
2094 function renderChoiceList(id, items, options = {}) {
2095 const target = $(id);

Callers 2

renderChoiceListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected