(value)
| 383 | } |
| 384 | |
| 385 | function formatDisplayFieldValue(value) { |
| 386 | if (value === null) return 'null'; |
| 387 | if (value === undefined) return ''; |
| 388 | if (typeof value === 'string') return value; |
| 389 | if (typeof value === 'number' || typeof value === 'boolean') return String(value); |
| 390 | return JSON.stringify(value); |
| 391 | } |
| 392 | |
| 393 | function setupJsonDetailEventDelegation() { |
| 394 | elements.detailJson.addEventListener('click', (e) => { |
no outgoing calls
no test coverage detected