Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
catalog.genesys-pgr.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Catalog
catalog.genesys-pgr.org
Commits
8ce11ba2
Commit
8ce11ba2
authored
Dec 26, 2018
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render accessionRef using Accession data if available
- don't sort accessionRefs
parent
e79c9612
Pipeline
#8283
passed with stages
in 5 minutes and 58 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/ui/catalog/accession/AccessionRefsTable.tsx
src/ui/catalog/accession/AccessionRefsTable.tsx
+4
-4
No files found.
src/ui/catalog/accession/AccessionRefsTable.tsx
View file @
8ce11ba2
...
...
@@ -88,13 +88,13 @@ class AccessionRefsTable extends React.Component<IAccessionRefsTableProps, any>
<
TableRow
key
=
{
acce
.
acceNumb
}
>
<
TableCell
style
=
{
{
width
:
widths
[
0
]
}
}
>
{
acce
.
instCode
}
</
TableCell
>
<
TableCell
style
=
{
{
width
:
widths
[
1
]
}
}
><
AccessionLink
accessionRef
=
{
acce
}
/></
TableCell
>
<
TableCell
style
=
{
{
width
:
widths
[
2
]
}
}
>
{
acce
.
genus
}
</
TableCell
>
<
TableCell
style
=
{
{
width
:
widths
[
3
]
}
}
>
{
acce
.
species
}
</
TableCell
>
<
TableCell
style
=
{
{
width
:
widths
[
4
]
}
}
><
DOI
noPrefix
value
=
{
acce
.
doi
}
/></
TableCell
>
<
TableCell
style
=
{
{
width
:
widths
[
2
]
}
}
>
{
acce
.
accession
?
acce
.
accession
.
taxonomy
.
genus
:
acce
.
genus
}
</
TableCell
>
<
TableCell
style
=
{
{
width
:
widths
[
3
]
}
}
>
{
acce
.
accession
?
acce
.
accession
.
taxonomy
.
species
:
acce
.
species
}
</
TableCell
>
<
TableCell
style
=
{
{
width
:
widths
[
4
]
}
}
><
DOI
noPrefix
value
=
{
acce
.
accession
?
acce
.
accession
.
doi
:
acce
.
doi
}
/></
TableCell
>
</
TableRow
>
);
return
paged
?
paged
.
content
&&
paged
.
content
.
sort
((
a
,
b
)
=>
a
.
acceNumb
.
localeCompare
(
b
.
acceNumb
))
&&
(
return
paged
?
paged
.
content
&&
(
<
div
className
=
{
this
.
props
.
classes
.
root
}
>
<
Table
maxHeight
=
"500px"
widths
=
{
widths
}
headers
=
{
[
t
(
'
institutes.common.instCode
'
),
...
...
Write
Preview
Markdown
is supported
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