Commit 1ef174d7 authored by Viacheslav Pavlov's avatar Viacheslav Pavlov Committed by Oleksii Savran

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

parent a0f56a8d
......@@ -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