mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
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:
@@ -161,7 +161,7 @@ const FeatureProperties = (props: { feature: Feature }) => {
|
||||
const rows = tmp.map((d, i) => (
|
||||
<tr key={i}>
|
||||
<td>{d[0]}</td>
|
||||
<td>{d[1]}</td>
|
||||
<td>{typeof d[1] === "boolean" ? JSON.stringify(d[1]) : d[1]}</td>
|
||||
</tr>
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user