fix(claiming): better sync and notif handling

This commit is contained in:
Sabe Jones
2019-04-15 12:31:19 -05:00
parent 76ae41875d
commit 4c832ad36c
2 changed files with 2 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ export function loadAsyncResource ({store, path, url, deserialize, forceLoad = f
}
});
});
} else if (loadingStatus === 'NOT_LOADED' || loadingStatus === 'LOADED' && forceLoad) {
} else if (loadingStatus === 'NOT_LOADED' || forceLoad) {
return axios.get(url).then(response => { // TODO support more params
resource.loadingStatus = 'LOADED';
// deserialize can be a promise