maplibre inspector stringifies boolean values [#270] (#271)

This commit is contained in:
Brandon Liu
2023-10-19 12:44:49 -04:00
committed by GitHub
parent 41c497109f
commit fd333cc1b6

View File

@@ -85,7 +85,9 @@ const FeaturesProperties = (props: { features: MapGeoJSONFeature[] }) => {
{Object.entries(f.properties).map(([key, value], i) => (
<tr key={i}>
<td>{key}</td>
<td>{value}</td>
<td>
{typeof value === "boolean" ? JSON.stringify(value) : value}
</td>
</tr>
))}
</table>