Commit 49e1ce01 authored by Antoine's avatar Antoine

Display toast when syncing account's balance fails. Fixes #889

parent 290397fd
Pipeline #173396 passed with stages
in 6 minutes and 51 seconds
......@@ -1084,6 +1084,9 @@ function reduceResyncBalance(state, action) {
let balance = account.balance - account.initialBalance + initialBalance;
return updateAccountFields(state, accountId, { initialBalance, balance });
}
if (status === FAIL) {
handleSyncError(action.error);
}
return state;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment