diff options
author | ThibG <thib@sitedethib.com> | 2020-03-28 17:59:45 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-04-02 20:39:44 +0200 |
commit | 3eede6f64b78660d94a796641620f086fa0aca87 (patch) | |
tree | 48c42f73619c834cdd88dccff7b5ee2ec8cd40b8 /app/javascript/flavours/glitch/actions/accounts.js | |
parent | f3eff922a3350b9c54ef6fd5f8804722fdbe4c9c (diff) |
[Glitch] Fix 404 and 410 API errors being silently discarded in WebUI
Port front-end changes from 0d117c106aa72f78dd5cdd371849dd8ce3120198 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/actions/accounts.js')
-rw-r--r-- | app/javascript/flavours/glitch/actions/accounts.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/actions/accounts.js b/app/javascript/flavours/glitch/actions/accounts.js index b659e4ff3..e1012a80b 100644 --- a/app/javascript/flavours/glitch/actions/accounts.js +++ b/app/javascript/flavours/glitch/actions/accounts.js @@ -370,6 +370,7 @@ export function fetchFollowersFail(id, error) { type: FOLLOWERS_FETCH_FAIL, id, error, + skipNotFound: true, }; }; @@ -456,6 +457,7 @@ export function fetchFollowingFail(id, error) { type: FOLLOWING_FETCH_FAIL, id, error, + skipNotFound: true, }; }; @@ -545,6 +547,7 @@ export function fetchRelationshipsFail(error) { type: RELATIONSHIPS_FETCH_FAIL, error, skipLoading: true, + skipNotFound: true, }; }; |