Skip to content

Commit

Permalink
[Taskman #125090] Glossary: placeholder can be empty
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Dec 10, 2020
1 parent ce5a3a6 commit 2e02b80
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/manage/Blocks/GlossarySearchBlock/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,7 @@ class View extends Component {
className={cx(this.props.data.className?.value)}
ref={this.linkInput}
aria-label="Glossary search"
placeholder={
this.props.data?.placeholder?.value ||
this.props.intl.formatMessage(messages.searchSite)
}
placeholder={this.props.data?.placeholder?.value || ''}
title={this.props.intl.formatMessage(messages.search)}
onChange={this.onChange}
value={this.state.text}
Expand Down

0 comments on commit 2e02b80

Please sign in to comment.