Skip to content

Commit

Permalink
feat: add setting to disable the examples dropdown box
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasPf authored and BelfordZ committed Oct 13, 2020
1 parent 7b50337 commit 2991e46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AppBar/AppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ class ApplicationBar extends Component<IProps> {
</Paper>
}
</Grid>
{this.props.uiSchema && this.props.uiSchema.appBar && this.props.uiSchema.appBar["ui:examplesDropdown"] &&
{this.props.uiSchema && this.props.uiSchema.appBar &&
this.props.uiSchema.appBar["ui:examplesDropdown"] &&
<ExampleDocumentsDropdown examples={examples} onChange={onExampleDocumentsDropdownChange} />
}
</Grid>
Expand Down

0 comments on commit 2991e46

Please sign in to comment.