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

Commit 723e36a

Browse files
authored
Merge pull request #836 from ikandars/master
Bug fix for issue #835
2 parents f517d5e + 77b7fec commit 723e36a

File tree

1 file changed

+4
-4
lines changed
  • src/components/Settings/TranslationsDropdown

1 file changed

+4
-4
lines changed

src/components/Settings/TranslationsDropdown/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ class TranslationsDropdown extends Component {
103103
menu={
104104
translationOptions.length
105105
? <Menu>
106-
{translations &&
107-
translations.length &&
108-
<MenuItem onClick={this.handleRemoveContent}>
106+
{translations && translations.length
107+
? <MenuItem onClick={this.handleRemoveContent}>
109108
<LocaleFormattedMessage
110109
id="setting.translations.removeAll"
111110
defaultMessage="Remove all"
112111
/>
113-
</MenuItem>}
112+
</MenuItem>
113+
: <span />}
114114
<MenuItem divider>
115115
<LocaleFormattedMessage
116116
id="setting.translations.english"

0 commit comments

Comments
 (0)