Skip to content

Commit

Permalink
fix breaking unit test and upgdated package version
Browse files Browse the repository at this point in the history
  • Loading branch information
jesuyedavid committed Oct 4, 2023
1 parent 354f75c commit 39c7b6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yext/answers-search-ui",
"version": "1.16.1",
"version": "1.16.2",
"description": "Javascript Search Programming Interface",
"main": "dist/answers-umd.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/search/autocompletecomponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default class AutoCompleteComponent extends Component {
resultIndex: this._resultIndex,
promptHeader: this._originalQuery.length === 0 ? this.promptHeader : null,
listLabelIdName: this.listLabelIdName,
autocompleteContainerIdName: `yxt-AutoComplete-container-${this._config.name.replaceAll('.', '-')}`,
autocompleteContainerIdName: `yxt-AutoComplete-container-${this._config.name ? this._config.name.replaceAll('.', '-') : ''}`,
eventOptions: this.eventOptions(data)
}));
}
Expand Down

0 comments on commit 39c7b6a

Please sign in to comment.