Fix to not show progress when fetch accounts
This commit is contained in:
parent
a63147aa0b
commit
6b68245fa2
2 changed files with 4 additions and 0 deletions
|
@ -175,12 +175,14 @@ export function fetchAccountsRequest(accountIds) {
|
||||||
return {
|
return {
|
||||||
type: ACCOUNTS_FETCH_REQUEST,
|
type: ACCOUNTS_FETCH_REQUEST,
|
||||||
accountIds,
|
accountIds,
|
||||||
|
skipLoading: true,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export function fetchAccountsSuccess() {
|
export function fetchAccountsSuccess() {
|
||||||
return {
|
return {
|
||||||
type: ACCOUNTS_FETCH_SUCCESS,
|
type: ACCOUNTS_FETCH_SUCCESS,
|
||||||
|
skipLoading: true,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -191,6 +193,7 @@ export function fetchAccountsFail(accountIds, error) {
|
||||||
error,
|
error,
|
||||||
skipAlert: true,
|
skipAlert: true,
|
||||||
skipNotFound: true,
|
skipNotFound: true,
|
||||||
|
skipLoading: true,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -821,5 +821,6 @@ export const updateEmojiReaction = emoji_reaction => {
|
||||||
return {
|
return {
|
||||||
type: EMOJI_REACTION_UPDATE,
|
type: EMOJI_REACTION_UPDATE,
|
||||||
emojiReaction: emoji_reaction,
|
emojiReaction: emoji_reaction,
|
||||||
|
skipLoading: true,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue