Inspector: Explose true/false values (#270)

* Inspector: Explose true/false values

`true`/`false` where hidden from the UI, they need to be transformed to strings.

* Update Inspector.tsx
This commit is contained in:
Tobias
2023-10-19 18:28:42 +02:00
committed by GitHub
parent b0c14caf0f
commit 41c497109f

View File

@@ -161,7 +161,7 @@ const FeatureProperties = (props: { feature: Feature }) => {
const rows = tmp.map((d, i) => ( const rows = tmp.map((d, i) => (
<tr key={i}> <tr key={i}>
<td>{d[0]}</td> <td>{d[0]}</td>
<td>{d[1]}</td> <td>{typeof d[1] === "boolean" ? JSON.stringify(d[1]) : d[1]}</td>
</tr> </tr>
)); ));