| @@ -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; | return prom_1; | ||||
| }); | }); | ||||
| @@ -122,6 +125,11 @@ class WBCollectionContent extends Component { | |||||
| } | } | ||||
| prepareRows(listing) { | prepareRows(listing) { | ||||
| if (listing) | |||||
| this.state.listing = listing; | |||||
| else | |||||
| listing = this.state.listing; | |||||
| let { manifestReader, mode } = this.state; | let { manifestReader, mode } = this.state; | ||||
| let { collectionPath, page, itemsPerPage } = this.props; | let { collectionPath, page, itemsPerPage } = this.props; | ||||
| let { arvHost, arvToken } = this.props.app.state; | let { arvHost, arvToken } = this.props.app.state; | ||||