Skip to content

Commit

Permalink
16643-update function comment and entity mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ketaki-deodhar committed Sep 7, 2023
1 parent 0e9da39 commit 492d0e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/new-request/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -784,10 +784,10 @@ export default class Search extends Mixins(CommonMixin, NrAffiliationMixin) {
/** Map to correct Entity type if legal type is Ben Bc Ulc Ccc */
isBenBcUlcCccCorpType (): boolean {
return this.business?.legalType as unknown as CorpTypeCd === CorpTypeCd.BENEFIT_COMPANY ||
this.business?.legalType as unknown as CorpTypeCd === CorpTypeCd.BC_COMPANY ||
this.business?.legalType as unknown as CorpTypeCd === CorpTypeCd.BC_ULC_COMPANY ||
this.business?.legalType as unknown as CorpTypeCd === CorpTypeCd.BC_CCC
return this.business?.legalType === EntityType.BEN ||
this.business?.legalType === EntityType.BC ||
this.business?.legalType === EntityType.ULC ||
this.business?.legalType === EntityType.CC
}
get isChangeNameXpro (): boolean {
Expand Down
2 changes: 1 addition & 1 deletion src/store/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const isRestoration = (state: StateIF): boolean => {
}

/**
* True if current flow is XPRO (includes AMALGAMATION, NEW_BUSINESS, and RESTORATION).
* True if current flow is XPRO (includes AMALGAMATION, NEW_BUSINESS, RESTORATION and CHANGE_NAME).
* FUTURE: Might need to add others.
*/
export const isXproFlow = (state: StateIF): boolean => {
Expand Down

0 comments on commit 492d0e5

Please sign in to comment.