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.
Show more breadcrumbs
xpub
xpub-faraday
Commits
9d91c0a3
Commit
9d91c0a3
authored
6 years ago
by
Bogdan Cochior
Browse files
Options
Downloads
Patches
Plain Diff
fix(imports): fix imports
parent
f9c9b4b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!43
Sprint #19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/component-manuscript/src/components/Files.js
+0
-11
0 additions, 11 deletions
packages/component-manuscript/src/components/Files.js
packages/components-faraday/src/components/Reviewers/ReviewerForm.js
+1
-6
1 addition, 6 deletions
...mponents-faraday/src/components/Reviewers/ReviewerForm.js
with
1 addition
and
17 deletions
packages/component-manuscript/src/components/Files.js
+
0
−
11
View file @
9d91c0a3
...
...
@@ -2,8 +2,6 @@ import React, { Fragment } from 'react'
import
{
th
}
from
'
@pubsweet/ui-toolkit
'
import
styled
,
{
css
}
from
'
styled-components
'
import
{
FileItem
}
from
'
pubsweet-components-faraday/src/components/Files
'
const
Files
=
({
files
:
{
manuscripts
=
[],
...
...
@@ -19,9 +17,6 @@ const Files = ({
<
span
>
Main
manuscript
<
/span
>
<
div
/>
<
/Header
>
{
manuscripts
.
map
(
file
=>
(
<
FileItem
compact
id
=
{
file
.
id
}
key
=
{
file
.
id
}
{...
file
}
/
>
))}
<
/Fragment
>
)}
{
!!
supplementary
.
length
&&
(
...
...
@@ -30,9 +25,6 @@ const Files = ({
<
span
>
Supplemetary
files
<
/span
>
<
div
/>
<
/Header
>
{
supplementary
.
map
(
file
=>
(
<
FileItem
compact
id
=
{
file
.
id
}
key
=
{
file
.
id
}
{...
file
}
/
>
))}
<
/Fragment
>
)}
{
!!
coverLetter
.
length
&&
(
...
...
@@ -41,9 +33,6 @@ const Files = ({
<
span
>
Cover
letter
<
/span
>
<
div
/>
<
/Header
>
{
coverLetter
.
map
(
file
=>
(
<
FileItem
compact
id
=
{
file
.
id
}
key
=
{
file
.
id
}
{...
file
}
/
>
))}
<
/Fragment
>
)}
<
/Root
>
...
...
This diff is collapsed.
Click to expand it.
packages/components-faraday/src/components/Reviewers/ReviewerForm.js
+
1
−
6
View file @
9d91c0a3
...
...
@@ -9,7 +9,6 @@ import { reduxForm, change as changeForm, initialize } from 'redux-form'
import
{
ReviewersSelect
}
from
'
./
'
import
{
inviteReviewer
}
from
'
../../redux/reviewers
'
import
{
ValidatedTextField
}
from
'
../AuthorList/FormItems
'
const
ReviewerForm
=
({
users
,
...
...
@@ -23,12 +22,8 @@ const ReviewerForm = ({
<
Root
>
<
Row
>
<
ReviewersSelect
onSelect
=
{
selectReviewer
}
values
=
{
filteredUsers
()}
/
>
<
ValidatedTextField
isRequired
label
=
"
Last name*
"
name
=
"
lastName
"
/>
<
/Row
>
<
Row
>
<
ValidatedTextField
label
=
"
First name
"
name
=
"
firstName
"
/>
<
ValidatedTextField
label
=
"
Affiliation
"
name
=
"
affiliation
"
/>
<
/Row
>
{
reviewerError
&&
(
<
CenterRow
>
<
Err
>
{
reviewerError
}
<
/Err
>
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment