Just added a comment to clear any confusion.

This commit is contained in:
Jeremy-Z 2026-07-28 13:22:43 -04:00
parent 434b585167
commit 9231928212

View file

@ -362,6 +362,7 @@ export default {
await this.mainStore.getBillToInfo(); await this.mainStore.getBillToInfo();
// Skip duplicate check if loaded from cookie or already visited duplicate check page. // Skip duplicate check if loaded from cookie or already visited duplicate check page.
// NOTE: Do not create a new referral or call policy lookup if launched from cookie (this is by design).
if (!this.mainStore.order.loadedFromCookie && !this.mainStore.order.visitedDuplicateCheckPage) { if (!this.mainStore.order.loadedFromCookie && !this.mainStore.order.visitedDuplicateCheckPage) {
// getDuplicateReferrals handles exception / error internally. We do not care if it fails, user continues with creating new referral. // getDuplicateReferrals handles exception / error internally. We do not care if it fails, user continues with creating new referral.
await this.mainStore.getDuplicateReferrals(); await this.mainStore.getDuplicateReferrals();