Skip to content

Commit 7ec5901

Browse files
committed
[#378] Make viewing forms in storybook more robust
1 parent 68c3165 commit 7ec5901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/FormGenerator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class FormGenerator {
3333
let formProperties;
3434
let form;
3535
return jsonld
36-
.flatten(structure, {})
36+
.compact(structure, {})
3737
.then((flattenedStructure) => {
3838
try {
3939
const [formQuestions, rootForm] =

0 commit comments

Comments
 (0)