()
| 5063 | } |
| 5064 | |
| 5065 | async function loadCurrentProfile() { |
| 5066 | const userId = currentUser(); |
| 5067 | if (!userId) return; |
| 5068 | const token = ++state.profileLoadToken; |
| 5069 | setProfileSyncStatus(ui().settings.profileFields.loading); |
| 5070 | const data = await api(`/api/profile?user_id=${encodeURIComponent(userId)}`); |
| 5071 | if (token !== state.profileLoadToken) return; |
| 5072 | renderProfileForm(data); |
| 5073 | } |
| 5074 | |
| 5075 | function conferenceAccessInfo(item) { |
| 5076 | const source = String(item.source || item.label || item.id || "").toLowerCase(); |
no test coverage detected