Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #836 from ikandars/master
Browse files Browse the repository at this point in the history
Bug fix for issue #835
  • Loading branch information
naveed-ahmad authored Jun 28, 2017
2 parents f517d5e + 77b7fec commit 723e36a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Settings/TranslationsDropdown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ class TranslationsDropdown extends Component {
menu={
translationOptions.length
? <Menu>
{translations &&
translations.length &&
<MenuItem onClick={this.handleRemoveContent}>
{translations && translations.length
? <MenuItem onClick={this.handleRemoveContent}>
<LocaleFormattedMessage
id="setting.translations.removeAll"
defaultMessage="Remove all"
/>
</MenuItem>}
</MenuItem>
: <span />}
<MenuItem divider>
<LocaleFormattedMessage
id="setting.translations.english"
Expand Down

0 comments on commit 723e36a

Please sign in to comment.