CSR-2183: add logic for when error.response.status is undefined like 404 condition
This commit is contained in:
parent
ba143082ba
commit
15200297ea
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ export default {
|
|||
);
|
||||
}
|
||||
|
||||
if (error.response.status != "404") {
|
||||
if (error.response.status && error.response.status != "404") {
|
||||
// Do not route to error logic when no wipers found or no promo found (404s)
|
||||
router.navigateError();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue