From 41c497109fe1bbfc7f6497589ecca4c025fcd74f Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 19 Oct 2023 18:28:42 +0200 Subject: [PATCH] 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 --- app/src/Inspector.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/Inspector.tsx b/app/src/Inspector.tsx index f7f8bb5..b25f360 100644 --- a/app/src/Inspector.tsx +++ b/app/src/Inspector.tsx @@ -161,7 +161,7 @@ const FeatureProperties = (props: { feature: Feature }) => { const rows = tmp.map((d, i) => ( {d[0]} - {d[1]} + {typeof d[1] === "boolean" ? JSON.stringify(d[1]) : d[1]} ));