mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
fix(claiming): better sync and notif handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user