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:
parent
e016ee7446
commit
efde22270c
@ -28,6 +28,7 @@ class UserStore {
|
|||||||
|
|
||||||
onSuccessFetchCurrentUser({users: [user]}) {
|
onSuccessFetchCurrentUser({users: [user]}) {
|
||||||
this.userMeta.invalidateCache = false;
|
this.userMeta.invalidateCache = false;
|
||||||
|
this.userMeta.err = null;
|
||||||
this.currentUser = user;
|
this.currentUser = user;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ class WhitelabelStore {
|
|||||||
|
|
||||||
onSuccessFetchWhitelabel({ whitelabel }) {
|
onSuccessFetchWhitelabel({ whitelabel }) {
|
||||||
this.whitelabelMeta.invalidateCache = false;
|
this.whitelabelMeta.invalidateCache = false;
|
||||||
|
this.whitelabelMeta.err = null;
|
||||||
this.whitelabel = whitelabel;
|
this.whitelabel = whitelabel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user