()
| 1174 | } |
| 1175 | |
| 1176 | async 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 | |
| 1183 | function renderMustRead(mustRead) { |
| 1184 | const groups = [ |
no test coverage detected