We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c3d29 commit 2a7d6fcCopy full SHA for 2a7d6fc
src/components/group/Group.js
@@ -91,8 +91,13 @@ class Group extends Component {
91
try {
92
let content = this.getContent();
93
94
- if (layout.type == 'tabs') {
95
- return <TabsForm layout={layout} content={content}/>;
+ if (layout.type) {
+ switch (layout.type) {
96
+ case 'tabs':
97
+ return <TabsForm layout={layout} content={content}/>;
98
+ default:
99
+ return <NormalForm title={layout.title} content={content}/>
100
+ }
101
}
102
103
return <NormalForm title={layout.title} content={content}/>
0 commit comments