mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Fix bug: Old edition HTTP request holds loading data for new edition request
This commit is contained in:
parent
4727646654
commit
03481f3b09
@ -24,9 +24,7 @@ class EditionStore {
|
|||||||
onFetchEdition(idToFetch) {
|
onFetchEdition(idToFetch) {
|
||||||
this.editionMeta.idToFetch = idToFetch;
|
this.editionMeta.idToFetch = idToFetch;
|
||||||
|
|
||||||
if(!this.getInstance().isLoading()) {
|
this.getInstance().lookupEdition();
|
||||||
this.getInstance().lookupEdition();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onSuccessFetchEdition(res) {
|
onSuccessFetchEdition(res) {
|
||||||
|
Loading…
Reference in New Issue
Block a user