mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-20 05:12:54 +08:00
fix object key visible
This commit is contained in:
parent
b6bb0eaf92
commit
05881ab4fc
@ -22,7 +22,9 @@ export const parser = (input) => {
|
||||
id: nextId(),
|
||||
data: {
|
||||
label: Object.fromEntries(
|
||||
Object.entries(o).filter(([k, v]) => !Array.isArray(v))
|
||||
Object.entries(o).filter(
|
||||
([k, v]) => !Array.isArray(v) && !(v instanceof Object)
|
||||
)
|
||||
),
|
||||
},
|
||||
position: { x: 0, y: 0 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user