Skip to content

Commit

Permalink
Merge pull request #723 from jamespaologarcia/17955-business-search-r…
Browse files Browse the repository at this point in the history
…eactivate-inactive-only

For PR - business search fetching active companies
  • Loading branch information
jamespaologarcia authored Oct 4, 2023
2 parents 07dff9c + 51e9109 commit 6659a17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "name-request",
"version": "5.2.6",
"version": "5.2.7",
"private": true,
"appName": "Name Request UI",
"sbcName": "SBC Common Components",
Expand Down
2 changes: 1 addition & 1 deletion src/components/new-request/business-lookup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default class BusinessLookup extends Vue {
// safety check
if (that.searchField && that.searchField.length > 2) {
that.state = States.SEARCHING
that.searchResults = await BusinessLookupServices.search(that.searchField, this.searchStatus).catch(() => [])
that.searchResults = await BusinessLookupServices.search(that.searchField, that.searchStatus).catch(() => [])
// display appropriate section
that.state = (that.searchResults.length > 0) ? States.SHOW_RESULTS : States.NO_RESULTS
Expand Down

0 comments on commit 6659a17

Please sign in to comment.