fix(web): hide null flexible-field values instead of rendering 'null'

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-03 23:17:14 +02:00
parent 859f41dcb9
commit 1d1be5fbe9
+7 -1
View File
@@ -67,7 +67,13 @@ export function ObjectDetail() {
<Field <Field
key={key} key={key}
label={labelFor(key)} label={labelFor(key)}
value={typeof value === "object" ? JSON.stringify(value) : String(value)} value={
value == null
? null
: typeof value === "object"
? JSON.stringify(value)
: String(value)
}
/> />
))} ))}
</div> </div>