[Glitch] Fix loading indicator inconsistency

Port 3cecf3e5b9 to glitch-soc
This commit is contained in:
Thibaut Girka
2018-11-10 18:01:39 +01:00
committed by ThibG
parent 5ebbaffaa3
commit c78c80f807
5 changed files with 27 additions and 15 deletions

View File

@ -28,6 +28,7 @@ export function fetchFavouritedStatuses() {
export function fetchFavouritedStatusesRequest() {
return {
type: FAVOURITED_STATUSES_FETCH_REQUEST,
skipLoading: true,
};
};
@ -36,6 +37,7 @@ export function fetchFavouritedStatusesSuccess(statuses, next) {
type: FAVOURITED_STATUSES_FETCH_SUCCESS,
statuses,
next,
skipLoading: true,
};
};
@ -43,6 +45,7 @@ export function fetchFavouritedStatusesFail(error) {
return {
type: FAVOURITED_STATUSES_FETCH_FAIL,
error,
skipLoading: true,
};
};