Skip to content

Commit

Permalink
Fix toolbar issue when an object does not have review_state (like root).
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Mar 12, 2018
1 parent d1ebf96 commit cc34af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/manage/Toolbar/Toolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export default class Toolbar extends Component {
</Menu.Item>
<Button
className={
this.props.content.review_state
this.props.content && this.props.content.review_state
? `${this.props.content.review_state} trigger`
: 'trigger'
}
Expand Down

0 comments on commit cc34af0

Please sign in to comment.