Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Embedded Genesys UI
Commits
b41c69aa
Commit
b41c69aa
authored
Nov 30, 2020
by
Matija Obreza
Browse files
Fix: canAdd on Accession details page
parent
d2a26b89
Changes
2
Hide whitespace changes
Inline
Side-by-side
index.html
View file @
b41c69aa
...
...
@@ -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
,
...
...
src/accession/AccessionDetailsPage.tsx
View file @
b41c69aa
...
...
@@ -85,7 +85,7 @@ class AccessionDetailsPage extends React.Component<IAccessionDetailsPage & WithT
return
<
button
type
=
"button"
disabled
=
{
!
canAdd
ToCart
}
disabled
=
{
!
canAdd
}
name
=
{
`button-add-
${
accession
.
details
.
uuid
}
`
}
data-uuid
=
{
accession
.
details
.
uuid
}
className
=
"btn btn-primary"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment