Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7442: Added cancel reason for reason code 'I' and 'D' #109

Merged
merged 2 commits into from
Aug 12, 2022

Conversation

AnumehaSrivastava05
Copy link
Contributor

No description provided.

@@ -30,7 +30,17 @@ export default {
return decodeRelationship(this.contractPeriod.relationship)
},
cancelReason() {
return this.contractPeriod.cancelReason === 'E' ? 'Eligible' : ''
const cancelReason = ''
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's not too much point to declaring this a const and then only using it once in the default statement. I would just return the empty string directly.

@AnumehaSrivastava05 AnumehaSrivastava05 merged commit 3529c58 into main Aug 12, 2022
@AnumehaSrivastava05 AnumehaSrivastava05 deleted the 7442-r32-cancelreason-blank branch August 16, 2022 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants