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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user