Skip to content

Commit

Permalink
Reverted changes for dynamic text
Browse files Browse the repository at this point in the history
  • Loading branch information
AnumehaSrivastava05 committed Mar 23, 2022
1 parent 80bcb85 commit 5e6c71e
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppOutput label="Name" :value="fullName" />
</AppCol>
</AppRow>
<AppButton @click="addAnotherPermitHolder()" mode="primary" type="button">{{ addAnotherButtonText }}</AppButton>
<AppButton @click="addAnotherPermitHolder()" mode="primary" type="button">Add Another Study Permit Holder</AppButton>
</div>
</template>

Expand All @@ -29,9 +29,6 @@ export default {
fullName() {
return formatPersonName(this.resident)
},
addAnotherButtonText() {
return this.$route.query.pageAction === 'REGISTRATION' || this.$route.name === 'AddVisaResidentWithoutPHN' ? 'Add Another Permit Holder without PHN' : 'Add Another Permit Holder with PHN'
},
},
methods: {
Expand Down

0 comments on commit 5e6c71e

Please sign in to comment.