Merge pull request #87 from tootsuite/master

merge upstream
This commit is contained in:
beatrix authored and GitHub committed 2017-07-20 11:24:32 -04:00
commit e7edb4d1ee
64 files changed
+499 -332

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ export function fetchContext(id) {
dispatch(fetchContextSuccess(id, response.data.ancestors, response.data.descendants));
}).catch(error => {
if (error.response.status === 404) {
if (error.response && error.response.status === 404) {
dispatch(deleteFromTimelines(id));
}
+1 -1
View File
@@ -105,7 +105,7 @@ export function refreshTimelineFail(timeline, error, skipLoading) {
timeline,
error,
skipLoading,
skipAlert: error.response.status === 404,
skipAlert: error.response && error.response.status === 404,
};
};