1
0
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:
Tim Daubenschütz 2015-12-09 13:04:15 +01:00
parent 4727646654
commit 03481f3b09

View File

@ -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) {