Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xpub-faraday
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Something went wrong on our end
Show more breadcrumbs
xpub
xpub-faraday
Merge requests
!95
feat(PublonsTable): Added links to publon profile
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat(PublonsTable): Added links to publon profile
HIN-904
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Mihail Hagiu
requested to merge
HIN-904
into
develop
6 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
1
0
Merge request reports
Viewing commit
507d93b1
Show latest version
1 file
+
6
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
507d93b1
feat(PublonsTable): Added links to publon profile
· 507d93b1
Mihail Hagiu
authored
6 years ago
packages/component-faraday-ui/src/PublonsTable.js
+
6
−
2
Options
@@ -5,7 +5,7 @@ import { Button, Spinner } from '@pubsweet/ui'
import
{
get
}
from
'
lodash
'
import
{
compose
,
withHandlers
,
withProps
}
from
'
recompose
'
import
{
Label
,
OpenModal
,
Text
,
withFetching
}
from
'
../
'
import
{
Label
,
OpenModal
,
Text
,
withFetching
,
ActionLink
}
from
'
../
'
const
TableView
=
({
reviewers
,
@@ -42,7 +42,11 @@ const TableView = ({
{
reviewers
.
map
(
reviewer
=>
(
<
TableRow
key
=
{
reviewer
.
email
}
>
<
td
>
<
Text
>
{
`
${
get
(
reviewer
,
'
name
'
,
''
)}
`
}
<
/Text
>
<
ActionLink
to
=
{
get
(
reviewer
,
'
profileUrl
'
,
'
https://www.publons.com/
'
)}
>
{
`
${
get
(
reviewer
,
'
name
'
,
''
)}
`
}
<
/ActionLink
>
<
/td
>
<
td
>
<
Text
>
{
`
${
get
(
reviewer
,
'
affiliation
'
,
''
)}
`
}
<
/Text
>