mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +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]}) {
|
||||
this.userMeta.invalidateCache = false;
|
||||
this.userMeta.err = null;
|
||||
this.currentUser = user;
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,7 @@ class WhitelabelStore {
|
||||
|
||||
onSuccessFetchWhitelabel({ whitelabel }) {
|
||||
this.whitelabelMeta.invalidateCache = false;
|
||||
this.whitelabelMeta.err = null;
|
||||
this.whitelabel = whitelabel;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user