Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
467
function
hasUserOption(userId) {
468
return
[...$(
"userSelect"
).options].some((option) => option.value === userId);
469
}
470
471
function
setActiveUser(userId) {
472
const
nextUserId = String(userId ||
""
).trim();
Callers
1
setActiveUser
Function · 0.85
Calls
1
$
Function · 0.70
Tested by
no test coverage detected