about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/actions/timelines.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-11-09 16:47:50 +0100
committerThibG <thib@sitedethib.com>2018-11-13 15:54:04 +0100
commit5ebbaffaa308d4e0496f99321bbaeb1205bb8930 (patch)
treec68fe11c39d26e6e5d54dfd6b59f54db6519f83a /app/javascript/flavours/glitch/actions/timelines.js
parentc5a4dc91189138ba0ce26a12cf23f1c1f16a106b (diff)
[Glitch] Use local instead of global loading indicator for timelines, account timelines
Port dd00cd19d2536ce70442d74d72986721427691a5 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/actions/timelines.js')
-rw-r--r--app/javascript/flavours/glitch/actions/timelines.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/actions/timelines.js b/app/javascript/flavours/glitch/actions/timelines.js
index 46645752d..b0c19222c 100644
--- a/app/javascript/flavours/glitch/actions/timelines.js
+++ b/app/javascript/flavours/glitch/actions/timelines.js
@@ -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,
   };
 };