(records, parts, initialFields = [])
| 218 | render(); |
| 219 | }; |
| 220 | const showFields = (records, parts, initialFields = []) => { |
| 221 | rowPath = parts.join('/'); |
| 222 | selected = initialFields; |
| 223 | update(); |
| 224 | tree.replaceChildren(); |
| 225 | back.hidden = false; |
| 226 | children(records.slice(0, 50), [], tree, true); |
| 227 | back.focus(); |
| 228 | }; |
| 229 | status.textContent = t('analytics', 'Loading'); |
| 230 | try { |
| 231 | const result = await request('apps/analytics/datasource/json/content', { |