[Glitch] Use local instead of global loading indicator for timelines, account timelines

Port dd00cd19d2 to glitch-soc
This commit is contained in:
Thibaut Girka
2018-11-09 16:47:50 +01:00
committed by ThibG
parent c5a4dc9118
commit 5ebbaffaa3
5 changed files with 38 additions and 6 deletions

View File

@ -101,6 +101,7 @@ export function expandTimelineRequest(timeline) {
return {
type: TIMELINE_EXPAND_REQUEST,
timeline,
skipLoading: true,
};
};
@ -111,6 +112,7 @@ export function expandTimelineSuccess(timeline, statuses, next, partial) {
statuses,
next,
partial,
skipLoading: true,
};
};
@ -119,6 +121,7 @@ export function expandTimelineFail(timeline, error) {
type: TIMELINE_EXPAND_FAIL,
timeline,
error,
skipLoading: true,
};
};