Add <MissingIndicator /> when status or account are not found, skip alerts
for those errors
This commit is contained in:
parent
4bb8ff7c8e
commit
4fbdf100c4
8 changed files with 27 additions and 36 deletions
|
@ -138,7 +138,8 @@ export function fetchAccountFail(id, error) {
|
|||
return {
|
||||
type: ACCOUNT_FETCH_FAIL,
|
||||
id,
|
||||
error
|
||||
error,
|
||||
skipAlert: true
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -231,7 +232,8 @@ export function fetchAccountTimelineFail(id, error, skipLoading) {
|
|||
type: ACCOUNT_TIMELINE_FETCH_FAIL,
|
||||
id,
|
||||
error,
|
||||
skipLoading
|
||||
skipLoading,
|
||||
skipAlert: error.response.status === 404
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue