diff --git a/frontend/src/js/component/wb-collection-content.js b/frontend/src/js/component/wb-collection-content.js index 3cb7a74..6067c2b 100644 --- a/frontend/src/js/component/wb-collection-content.js +++ b/frontend/src/js/component/wb-collection-content.js @@ -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;