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

Function hasUserOption

deployments/desktop/static/app.js:467–469  ·  view source on GitHub ↗
(userId)

Source from the content-addressed store, hash-verified

465}
466
467function hasUserOption(userId) {
468 return [...$("userSelect").options].some((option) => option.value === userId);
469}
470
471function setActiveUser(userId) {
472 const nextUserId = String(userId || "").trim();

Callers 1

setActiveUserFunction · 0.85

Calls 1

$Function · 0.70

Tested by

no test coverage detected