Skip to content

Commit

Permalink
Fix __lang undefined error
Browse files Browse the repository at this point in the history
  • Loading branch information
microshine committed Jan 30, 2018
1 parent bc7d85e commit b42acd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/create_certificate/parts/key_info.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export default class KeyInfo extends Component {
{ lang['CertificateCreate.KeyInfo.Usage.Title'] }
</TitleCheckboxes>
{
currentAlgorithmData.usages[window.__lang].map((usage, index) => (
(currentAlgorithmData.usages[window.__lang] || currentAlgorithmData.usages.en).map((usage, index) => (
<CheckboxContainer key={index}>
<Checkbox
labelText={usage}
Expand Down

0 comments on commit b42acd9

Please sign in to comment.