Skip to content

Commit

Permalink
18286 correct entity_type_cd for the request type BECR (#739)
Browse files Browse the repository at this point in the history
* correct entity_type_cd for the request type BECR

* update version
  • Loading branch information
eve-git authored Oct 25, 2023
1 parent 53bd1a9 commit 5719304
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 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.3.1",
"version": "5.3.2",
"private": true,
"appName": "Name Request UI",
"sbcName": "SBC Common Components",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default class BusinessLookupFetch extends Mixins(CommonMixin, SearchMixin
// set conversionType and entityTypeCd because there's only one alteration type for it
if (this.isBenBusiness) {
this.setConversionType(NrRequestTypeCodes.CONVERT_CORP)
this.setEntityTypeCd(EntityTypes.BC)
this.setEntityTypeCd(EntityTypes.CR)
}
} else {
// clear all related fields when clearing business search/fetch for alter
Expand Down
1 change: 0 additions & 1 deletion src/mixins/search-mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ export class SearchMixin extends Mixins(CommonMixin) {
const entityType = ConversionTypes.find(conv => conv.value === nrRequestType)?.entity_type_cd || null
this.setEntityTypeCd(entityType)
this.setConversionType(type)
this.setConversionType(type)
return
}

Expand Down

0 comments on commit 5719304

Please sign in to comment.