about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/actions/custom_emojis.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-11-10 18:01:39 +0100
committerThibG <thib@sitedethib.com>2018-11-13 15:54:04 +0100
commitc78c80f807e5e57e549496e3a76a0743c5e44ac2 (patch)
tree132066837882fcb55e9af9e1e4a6be6573f3b170 /app/javascript/flavours/glitch/actions/custom_emojis.js
parent5ebbaffaa308d4e0496f99321bbaeb1205bb8930 (diff)
[Glitch] Fix loading indicator inconsistency
Port 3cecf3e5b995f5035b17fd9572c17ba1ede9346b to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/actions/custom_emojis.js')
-rw-r--r--app/javascript/flavours/glitch/actions/custom_emojis.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/actions/custom_emojis.js b/app/javascript/flavours/glitch/actions/custom_emojis.js
index 0595a6da7..29ae72edb 100644
--- a/app/javascript/flavours/glitch/actions/custom_emojis.js
+++ b/app/javascript/flavours/glitch/actions/custom_emojis.js
@@ -19,6 +19,7 @@ export function fetchCustomEmojis() {
 export function fetchCustomEmojisRequest() {
   return {
     type: CUSTOM_EMOJIS_FETCH_REQUEST,
+    skipLoading: true,
   };
 };
 
@@ -26,6 +27,7 @@ export function fetchCustomEmojisSuccess(custom_emojis) {
   return {
     type: CUSTOM_EMOJIS_FETCH_SUCCESS,
     custom_emojis,
+    skipLoading: true,
   };
 };
 
@@ -33,5 +35,6 @@ export function fetchCustomEmojisFail(error) {
   return {
     type: CUSTOM_EMOJIS_FETCH_FAIL,
     error,
+    skipLoading: true,
   };
 };