Skip to content
GitLab
Menu
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
c8745024
Commit
c8745024
authored
Nov 24, 2020
by
Maksym Tishchenko
Browse files
Accession Details: added check for collSrc
parent
870ee999
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/accession/AccessionDetailsPage.tsx
View file @
c8745024
...
...
@@ -231,7 +231,9 @@ class AccessionDetailsPage extends React.Component<IAccessionDetailsPage & WithT
<>
<
h3
className
=
"mt-4"
>
{
t
(
'
accession.details.collSite
'
)
}
</
h3
>
<
Property
title
=
{
t
(
'
accession.coll.collSite
'
)
}
value
=
{
details
.
coll
.
collSite
}
index
=
{
propertyIndex
++
}
/>
<
Property
title
=
{
t
(
'
accession.coll.collSrc
'
)
}
value
=
{
t
(
`accession.collectingSource.
${
details
.
coll
.
collSrc
}
`
)
}
index
=
{
propertyIndex
++
}
/>
{
details
.
coll
.
collSrc
&&
<
Property
title
=
{
t
(
'
accession.coll.collSrc
'
)
}
value
=
{
t
(
`accession.collectingSource.
${
details
.
coll
.
collSrc
}
`
)
}
index
=
{
propertyIndex
++
}
/>
}
<
Property
title
=
{
t
(
'
accession.coll.collDate
'
)
}
value
=
{
details
.
coll
.
collDate
}
index
=
{
propertyIndex
++
}
/>
<
Property
title
=
{
t
(
'
accession.coll.collMissId
'
)
}
value
=
{
details
.
coll
.
collMissId
}
index
=
{
propertyIndex
++
}
/>
<
Property
title
=
{
t
(
'
accession.coll.collCode
'
)
}
value
=
{
details
.
coll
.
collCode
}
index
=
{
propertyIndex
++
}
/>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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