Skip to content

Commit

Permalink
Fixed duplicate placeholder text for bot url field in open bot dialog. (
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano authored Dec 9, 2019
1 parent a09da63 commit b20fa50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [2009](https://github.com/microsoft/BotFramework-Emulator/pull/2009)
- [2010](https://github.com/microsoft/BotFramework-Emulator/pull/2010)
- [2012](https://github.com/microsoft/BotFramework-Emulator/pull/2012)
- [2014](https://github.com/microsoft/BotFramework-Emulator/pull/2014)
- [2017](https://github.com/microsoft/BotFramework-Emulator/pull/2017)
- [2019](https://github.com/microsoft/BotFramework-Emulator/pull/2019)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export class OpenBotDialog extends Component<OpenBotDialogProps, OpenBotDialogSt
const errorMessage = OpenBotDialog.getErrorMessage(validationResult);
const shouldBeDisabled =
validationResult === ValidationResult.Invalid || validationResult === ValidationResult.Empty;
const botUrlLabel = 'Bot URL';

return (
<Dialog cancel={this.props.onDialogCancel} className={openBotStyles.themeOverrides} title="Open a bot">
Expand All @@ -135,10 +134,10 @@ export class OpenBotDialog extends Component<OpenBotDialogProps, OpenBotDialogSt
<AutoComplete
autoFocus={true}
errorMessage={errorMessage}
label={botUrlLabel}
label={'Bot URL'}
items={savedBotUrls.map(elem => elem.url).slice(0, 9)}
onChange={this.onBotUrlChange}
placeholder={botUrlLabel}
placeholder={'Enter your bot URL'}
value={this.state.botUrl}
/>
{this.browseButton}
Expand Down

0 comments on commit b20fa50

Please sign in to comment.