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

Function refreshMustRead

deployments/desktop/static/app.js:1176–1181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1174}
1175
1176async function refreshMustRead() {
1177 const userId = activeUser();
1178 if (!userId) return;
1179 const data = await api(`/api/must-read?user_id=${encodeURIComponent(userId)}`);
1180 renderMustRead(data.must_read || {});
1181}
1182
1183function renderMustRead(mustRead) {
1184 const groups = [

Callers 3

updateRoleFunction · 0.85
bindEventsFunction · 0.85
bootFunction · 0.85

Calls 3

activeUserFunction · 0.85
renderMustReadFunction · 0.85
apiFunction · 0.70

Tested by

no test coverage detected