Skip to content

Commit 2991e46

Browse files
JonasPfBelfordZ
authored andcommitted
feat: add setting to disable the examples dropdown box
1 parent 7b50337 commit 2991e46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AppBar/AppBar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ class ApplicationBar extends Component<IProps> {
8484
</Paper>
8585
}
8686
</Grid>
87-
{this.props.uiSchema && this.props.uiSchema.appBar && this.props.uiSchema.appBar["ui:examplesDropdown"] &&
87+
{this.props.uiSchema && this.props.uiSchema.appBar &&
88+
this.props.uiSchema.appBar["ui:examplesDropdown"] &&
8889
<ExampleDocumentsDropdown examples={examples} onChange={onExampleDocumentsDropdownChange} />
8990
}
9091
</Grid>

0 commit comments

Comments
 (0)