Skip to content

Commit

Permalink
Bug fix for issue quran#835
Browse files Browse the repository at this point in the history
  • Loading branch information
ikandars committed Jun 28, 2017
1 parent 040b464 commit fd55a6b
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 fd55a6b

Please sign in to comment.