Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4238ef34
Commit
4238ef34
authored
Dec 04, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix switched degraded/improved references
parent
c47918f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
...javascripts/vue_merge_request_widget/mr_widget_options.js
+4
-4
No files found.
ee/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
View file @
4238ef34
...
@@ -80,11 +80,11 @@ export default {
...
@@ -80,11 +80,11 @@ export default {
}
else
if
(
improved
.
length
||
degraded
.
length
)
{
}
else
if
(
improved
.
length
||
degraded
.
length
)
{
text
.
push
(
'
Performance metrics
'
);
text
.
push
(
'
Performance metrics
'
);
if
(
degrad
ed
.
length
)
{
if
(
improv
ed
.
length
)
{
text
.
push
(
n__
(
text
.
push
(
n__
(
'
improved on %d point
'
,
'
improved on %d point
'
,
'
improved on %d points
'
,
'
improved on %d points
'
,
degrad
ed
.
length
,
improv
ed
.
length
,
));
));
}
}
...
@@ -92,11 +92,11 @@ export default {
...
@@ -92,11 +92,11 @@ export default {
text
.
push
(
'
and
'
);
text
.
push
(
'
and
'
);
}
}
if
(
improv
ed
.
length
)
{
if
(
degrad
ed
.
length
)
{
text
.
push
(
n__
(
text
.
push
(
n__
(
'
degraded on %d point
'
,
'
degraded on %d point
'
,
'
degraded on %d points
'
,
'
degraded on %d points
'
,
improv
ed
.
length
,
degrad
ed
.
length
,
));
));
}
}
}
}
...
...
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