Skip to content
Snippets Groups Projects
Commit 6d64770d authored by Sebastian's avatar Sebastian
Browse files

Merge branch 'faraday-master' of gitlab.coko.foundation:xpub/xpub into faraday-master

parents b0a5659c ca5f3e5b
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ import { Icon, Menu } from '@pubsweet/ui' ...@@ -6,7 +6,7 @@ import { Icon, Menu } from '@pubsweet/ui'
import { actions } from 'pubsweet-client' import { actions } from 'pubsweet-client'
import { ConnectPage } from 'xpub-connect' import { ConnectPage } from 'xpub-connect'
import { withJournal } from 'xpub-journal' import { withJournal } from 'xpub-journal'
import { withRouter } from 'react-router-dom' import { withRouter, Link } from 'react-router-dom'
import { compose, withState, withHandlers } from 'recompose' import { compose, withState, withHandlers } from 'recompose'
import { Pagination } from './' import { Pagination } from './'
...@@ -44,7 +44,7 @@ const TableRow = ({ ...@@ -44,7 +44,7 @@ const TableRow = ({
<Tag>{isConfirmed ? 'Confirmed' : 'Invited'}</Tag> <Tag>{isConfirmed ? 'Confirmed' : 'Invited'}</Tag>
</td> </td>
<td> <td>
<Action href={`/admin/users/edit/${id}`}>Edit</Action> <Action to={`/admin/users/edit/${id}`}>Edit</Action>
</td> </td>
</Row> </Row>
) )
...@@ -296,7 +296,7 @@ const Role = styled.span` ...@@ -296,7 +296,7 @@ const Role = styled.span`
text-transform: uppercase; text-transform: uppercase;
` `
const Action = styled.a` const Action = styled(Link)`
color: ${({ theme }) => theme.colorPrimary}; color: ${({ theme }) => theme.colorPrimary};
display: none; display: none;
` `
......
...@@ -51,7 +51,10 @@ const FileSection = ({ ...@@ -51,7 +51,10 @@ const FileSection = ({
previewFile, previewFile,
}) => ( }) => (
<DropSection <DropSection
innerRef={instance => connectFileDrop(connectDropTarget(instance))} innerRef={instance => {
connectFileDrop(instance)
connectDropTarget(instance)
}}
isFirst={isFirst} isFirst={isFirst}
isLast={isLast} isLast={isLast}
over={isFileOver || (isOver && canDrop)} over={isFileOver || (isOver && canDrop)}
......
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