Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xpub-epmc
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Literature-services
public-projects
xpub-epmc
Merge requests
!105
Dev
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Dev
dev
into
master
Overview
0
Commits
6
Pipelines
0
Changes
8
Merged
lit_git
requested to merge
dev
into
master
5 years ago
Overview
0
Commits
6
Pipelines
0
Changes
8
Expand
deploy to master
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
126bd33e
6 commits,
5 years ago
8 files
+
17
−
15
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
app/components/review-wizard/Review.jsx
+
3
−
1
Options
@@ -147,7 +147,9 @@ class Review extends React.Component {
}
=
this
.
state
const
{
files
:
allfiles
,
status
,
teams
}
=
manuscript
if
(
teams
&&
allfiles
)
{
const
sourceFile
=
allfiles
.
find
(
f
=>
f
.
type
===
'
manuscript
'
)
const
sourceFile
=
allfiles
.
find
(
file
=>
file
.
type
===
'
source
'
)
||
allfiles
.
find
(
file
=>
file
.
type
===
'
manuscript
'
)
const
files
=
allfiles
.
filter
(
f
=>
!
f
.
type
||
ReviewTypes
.
some
(
rev
=>
rev
.
value
===
f
.
type
),
)