Commit e83660bf authored by Oleksii Savran's avatar Oleksii Savran

Merge branch...

Merge branch '620-request-is-failed-with-status-code-500-if-user-try-to-add-accession-from-details-page' into 'master'

Request is failed with status code 500 if user try to add accession from details page;

Closes #620

See merge request genesys-pgr/genesys-ui!607
parents a0f56a8d 1ef174d7
......@@ -128,7 +128,7 @@ class BrowsePage extends React.Component<IBrowsePageProps, any> {
private onCheckboxChange = (event, checked) => {
const {accession: {details: accession}, addAccessionToMyList, removeAccessionFromMyList} = this.props;
if (checked) {
addAccessionToMyList(accession.uuid);
addAccessionToMyList(accession);
} else {
removeAccessionFromMyList(accession.uuid);
}
......
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