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

Bug fix for issue #835 #836

Merged
merged 2 commits into from
Jun 28, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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