()
| 34 | }; |
| 35 | |
| 36 | export default function getConfigFromDOM(): DashConfig { |
| 37 | const configElement = document.getElementById('_dash-config'); |
| 38 | return JSON.parse( |
| 39 | configElement?.textContent ? configElement?.textContent : '{}' |
| 40 | ); |
| 41 | } |
no test coverage detected
searching dependent graphs…