1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Add error nullification in sources

This commit is contained in:
Tim Daubenschütz 2015-11-16 17:44:56 +01:00
parent e016ee7446
commit efde22270c
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ class UserStore {
onSuccessFetchCurrentUser({users: [user]}) {
this.userMeta.invalidateCache = false;
this.userMeta.err = null;
this.currentUser = user;
}

View File

@ -27,6 +27,7 @@ class WhitelabelStore {
onSuccessFetchWhitelabel({ whitelabel }) {
this.whitelabelMeta.invalidateCache = false;
this.whitelabelMeta.err = null;
this.whitelabel = whitelabel;
}