Just added a comment to clear any confusion.
This commit is contained in:
parent
434b585167
commit
9231928212
1 changed files with 1 additions and 0 deletions
|
|
@ -362,6 +362,7 @@ export default {
|
|||
await this.mainStore.getBillToInfo();
|
||||
|
||||
// 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) {
|
||||
// getDuplicateReferrals handles exception / error internally. We do not care if it fails, user continues with creating new referral.
|
||||
await this.mainStore.getDuplicateReferrals();
|
||||
|
|
|
|||
Loading…
Reference in a new issue