CSR-1855
CSR-1855 allow 404s to skip page error logic for no wipers or no promo
This commit is contained in:
parent
9260892727
commit
3c8147081f
1 changed files with 5 additions and 1 deletions
|
|
@ -61,7 +61,11 @@ export default {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
router.navigateError();
|
// do not route to error logic when no wipers found or no promo found (404s)
|
||||||
|
if (error.response.status != "404") {
|
||||||
|
router.navigateError();
|
||||||
|
}
|
||||||
|
|
||||||
return reject(error.response);
|
return reject(error.response);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue