Skip to content

Commit

Permalink
Fix entity type options
Browse files Browse the repository at this point in the history
  • Loading branch information
leodube-aot committed Sep 15, 2023
1 parent 80d12c2 commit 10a45dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/new-request/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<template v-else-if="isXproEntityType(getEntityTypeCd)">
<v-col cols="12" md="8">
<NameInput
:is-mras-search="(isMrasJurisdiction && !getHasNoCorpNum)"
:is-mras-search="(isXproFlow && isMrasJurisdiction && !getHasNoCorpNum)"
@emit-corp-num-validity="corpNumValid = $event"
/>
</v-col>
Expand Down
2 changes: 1 addition & 1 deletion src/store/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ export const getEntityTypeOptions = (state: StateIF): Array<EntityI> => {

let options: SelectOptionsI[]
// special case for amalgamation - location may be CA or IN
if (isAmalgamation) options = [...bcOptions]
if (isAmalgamation(state)) options = [...bcOptions]
else if (isLocationBC(state)) options = [...bcOptions]
else options = [...xproOptions]
let n = 4
Expand Down

0 comments on commit 10a45dc

Please sign in to comment.