()
| 699 | } |
| 700 | |
| 701 | async function refreshProfile() { |
| 702 | const userId = ensureUser(); |
| 703 | const data = await api(`/api/profile?user_id=${encodeURIComponent(userId)}`); |
| 704 | renderProfile(data.profile || data.raw || {}); |
| 705 | } |
| 706 | |
| 707 | function renderPush(push, options = {}) { |
| 708 | const preserveSelection = Boolean(options.preserveSelection); |
no test coverage detected