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!
Browse Source

Small improvements to manifest worker-based approach.

master
parent
commit
9fd043a568
1 changed files with 11 additions and 3 deletions
  1. +11
    -3
      frontend/src/js/component/wb-collection-content.js

+ 11
- 3
frontend/src/js/component/wb-collection-content.js View File

@@ -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;


Loading…
Cancel
Save