Skip to content

Commit 4002dd8

Browse files
author
Alban Bailly
committed
allof handling fix
1 parent ef7edc5 commit 4002dd8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/2_molecules/ResponseSampleBody.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,10 @@ export const ResponseSampleBody = props => {
159159
: "";
160160
})}}`
161161
: "") +
162-
(l.items && l.items.allOf && l.items.allOf[0].properties
162+
(l.items &&
163+
l.items.allOf &&
164+
l.items.allOf[0].properties &&
165+
l.items.allOf[1].properties
163166
? allOf(
164167
l.items.allOf[0].properties,
165168
l.items.allOf[1].properties

0 commit comments

Comments
 (0)