IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Pārlūkot izejas kodu

Small improvements to manifest worker-based approach.

pull/1/head
Stanislaw Adaszewski pirms 4 gadiem
vecāks
revīzija
9fd043a568
1 mainītis faili ar 11 papildinājumiem un 3 dzēšanām
  1. +11
    -3
      frontend/src/js/component/wb-collection-content.js

+ 11
- 3
frontend/src/js/component/wb-collection-content.js Parādīt failu

@@ -94,9 +94,12 @@ class WBCollectionContent extends Component {
});
}
prom_1 = prom_1.then(() => this.setState({
'mode': 'browsingReady'
}));
prom_1 = prom_1.then(() => {
this.setState({
'mode': 'browsingReady'
});
this.prepareRows();
});
return prom_1;
});
@@ -122,6 +125,11 @@ class WBCollectionContent extends Component {
}
prepareRows(listing) {
if (listing)
this.state.listing = listing;
else
listing = this.state.listing;
let { manifestReader, mode } = this.state;
let { collectionPath, page, itemsPerPage } = this.props;
let { arvHost, arvToken } = this.props.app.state;


Notiek ielāde…
Atcelt
Saglabāt