Skip to content

Commit

Permalink
refactor(mon-pix): remove extra check when defining isV3CoreAndComple…
Browse files Browse the repository at this point in the history
…mentary

Co-authored-by: <[email protected]>
Co-authored-by: <[email protected]>
Co-authored-by: <[email protected]>
  • Loading branch information
HEYGUL committed Oct 10, 2024
1 parent 984d8f0 commit ded25bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mon-pix/app/models/certification-candidate-subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default class CertificationCandidateSubscription extends Model {
get isV3CoreAndComplementary() {
return (
this.isSessionVersion3 &&
this.eligibleSubscriptions.length === 2 &&
this.eligibleSubscriptions.some((eligibleSubscription) => eligibleSubscription.type === 'CORE') &&
this.eligibleSubscriptions.some((eligibleSubscription) => eligibleSubscription.type === 'COMPLEMENTARY')
);
Expand Down

0 comments on commit ded25bf

Please sign in to comment.