Commit f04fd1b8 authored by Viacheslav Pavlov's avatar Viacheslav Pavlov

Merge branch '330-ssr-accessions-not-loading' into 'master'

Resolve "SSR: Accessions not loading"

Closes #330

See merge request genesys-pgr/genesys-ui!348
parents 556d7146 32e068bb
......@@ -53,7 +53,12 @@ const styles = (theme) => ({
class DatasetDetail extends React.Component<IDatasetDetailProps, any> {
protected static needs = [
({ params: { uuid } }) => (dispatch) => dispatch(loadDataset(uuid)).then((dataset) => loadMoreAccessions(dataset.uuid)),
({ params: { uuid } }) => {
return uuid ? loadDataset(uuid) : null;
},
({ params: { uuid } }) => {
return uuid ? loadMoreAccessions(uuid) : null;
},
];
public componentWillMount() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment