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
|
||||
key={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>
|
||||
|
||||
Reference in New Issue
Block a user