diff --git a/src/components/scope/scope-item.tsx b/src/components/scope/scope-item.tsx index 221c8ec8..4b477c78 100644 --- a/src/components/scope/scope-item.tsx +++ b/src/components/scope/scope-item.tsx @@ -46,18 +46,43 @@ export const ScopeItem: FC = ({ ([name]) => !name.startsWith("__"), ); + if (isArray) { + return ( + + + {`${Math.max(index, 0)}. ${key}`} + + +
+ {properties.map((item, index) => ( + + ))} +
+
+
+ ); + } + return ( - - - {isArray && `${Math.max(index, 0)}.`} {key} - - +

{key}

+
{properties.map((item, index) => ( = ({ /> ))}
- - +
+ ); };