Skip to content

Commit

Permalink
fix: pass empty string to i18n if the field is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
harshpatel-crest committed Jun 11, 2021
1 parent b85516d commit c045d18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -65,7 +65,7 @@ function ConfigurationPage() {
<Row>
<ColumnLayout.Column span={9}>
<TitleComponent>{_(title)}</TitleComponent>
<SubTitleComponent>{_(description)}</SubTitleComponent>
<SubTitleComponent>{_(description || '')}</SubTitleComponent>
</ColumnLayout.Column>
</Row>
</ColumnLayout>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/main/webapp/pages/Input/InputPage.jsx
Expand Up @@ -192,7 +192,7 @@ function InputPage() {
<Row>
<ColumnLayout.Column span={9}>
<TitleComponent>{_(title)}</TitleComponent>
<SubTitleComponent>{_(description)}</SubTitleComponent>
<SubTitleComponent>{_(description || '')}</SubTitleComponent>
</ColumnLayout.Column>
{services && services.length > 1 && !customMenuField?.src && (
<ColumnLayout.Column className="dropdown" span={3}>
Expand Down

0 comments on commit c045d18

Please sign in to comment.