Commit b41c69aa authored by Matija Obreza's avatar Matija Obreza
Browse files

Fix: canAdd on Accession details page

parent d2a26b89
......@@ -67,7 +67,7 @@
clientId: 'TDlQz.LUmnd6YIOtWr4kjnVEFi@api.sandbox.genesys-pgr.org', // Client ID
clientKey: 'gnE1dPz5CWnbn0IsFvL8iSP1QDxBpmU0', // Client key
title: 'Alliance genebanks:', // HTML title prefix
filter: {
filter: {
institute: { code: ['COL003', 'BEL084'] }, // Genesys data filter
},
language: queryLang,
......
......@@ -85,7 +85,7 @@ class AccessionDetailsPage extends React.Component<IAccessionDetailsPage & WithT
return <button
type="button"
disabled={ !canAddToCart }
disabled={ !canAdd }
name={ `button-add-${accession.details.uuid}` }
data-uuid={ accession.details.uuid }
className="btn btn-primary"
......
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