CSR-622 Don't load if referralNumber is empty
This commit is contained in:
parent
85af0596bd
commit
8700ca9e3e
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ export async function loadOrderIfPresent() {
|
||||||
const funnelCookie = getFunnelCookie();
|
const funnelCookie = getFunnelCookie();
|
||||||
|
|
||||||
// Do nothing if there is no cookie or no correlation id.
|
// Do nothing if there is no cookie or no correlation id.
|
||||||
if (funnelCookie == null || funnelCookie.ReferralCorrelationId == null) {
|
if (funnelCookie == null || funnelCookie.ReferralCorrelationId == null || !funnelCookie.ReferralNumber) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue