Skip to content

Commit

Permalink
bug fixed - keyword NEW is always displayed in the label, MHR transfe…
Browse files Browse the repository at this point in the history
…r detail
  • Loading branch information
RuoxuanPengBC committed Nov 20, 2023
1 parent 0775ab8 commit cd0bd4a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions ppr-ui/src/components/mhrTransfers/TransferDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@
</label>
</v-col>
<v-col cols="9" class="pl-3">
<p>{{ landOrLeaseLabel }}</p>
<p>Is the manufactured home located on land that the
{{isTransferDueToSaleOrGift ? 'new' : ''}} homeowners own or on land that
they have a registered lease of 3 years or more?</p>
</v-col>
</v-row>
<v-row class="mt-n1 mb-n5">
Expand Down Expand Up @@ -190,13 +192,8 @@ export default defineComponent({
isValidForm: false, // TransferDetails form without Transfer Date Picker
consideration: getMhrTransferConsideration.value,
transferDate: getMhrTransferDate.value,
isOwnLand: null || getMhrTransferOwnLand.value,
isOwnLand: getMhrTransferOwnLand.value,
enableWarningMsg: false,
landOrLeaseLabel: computed(() => {
return `Is the manufactured home located on land that the
${isTransferDueToSaleOrGift ? 'new' : ''} homeowners own or on land that
they have a registered lease of 3 years or more?`
}),
isValidTransferDetails: computed(() =>
localState.isValidForm && !!localState.transferDate && localState.isOwnLand !== null),
showFormError: computed(() => props.validate && !localState.isValidTransferDetails),
Expand Down Expand Up @@ -243,6 +240,7 @@ export default defineComponent({
hasError,
considerationRef,
isTransferDueToDeath,
isTransferDueToSaleOrGift,
transferDetailsForm,
updateConsideration,
clearTransferDetailsData,
Expand Down

0 comments on commit cd0bd4a

Please sign in to comment.