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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
61160143
Commit
61160143
authored
Mar 12, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed eslint
parent
ef246333
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
11 deletions
+2
-11
app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
...javascripts/vue_merge_request_widget/mr_widget_options.js
+1
-10
spec/javascripts/vue_mr_widget/mr_widget_options_spec.js
spec/javascripts/vue_mr_widget/mr_widget_options_spec.js
+1
-1
No files found.
app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
View file @
61160143
...
@@ -133,16 +133,7 @@ export default {
...
@@ -133,16 +133,7 @@ export default {
.
then
(
res
=>
res
.
data
)
.
then
(
res
=>
res
.
data
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
if
(
data
.
length
)
{
if
(
data
.
length
)
{
data
[
0
].
stop_url
=
'
asd
'
;
this
.
mr
.
deployments
=
data
;
this
.
mr
.
deployments
=
data
.
concat
({
...
data
[
0
],
id
:
data
[
0
].
id
+
1
,
name
:
'
review/1-make-homepage-more-descriptive
'
,
deployed_at
:
new
Date
(),
deployed_at_formatted
:
'
123
'
,
external_url_formatted
:
'
ad3-minmal-ruby-app-review-1-make-hom-gnm6yk.gitlab.training
'
,
metrics_url
:
'
a
'
,
});
}
}
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
...
...
spec/javascripts/vue_mr_widget/mr_widget_options_spec.js
View file @
61160143
...
@@ -12,7 +12,7 @@ const returnPromise = data => new Promise((resolve) => {
...
@@ -12,7 +12,7 @@ const returnPromise = data => new Promise((resolve) => {
});
});
});
});
f
describe
(
'
mrWidgetOptions
'
,
()
=>
{
describe
(
'
mrWidgetOptions
'
,
()
=>
{
let
vm
;
let
vm
;
let
MrWidgetOptions
;
let
MrWidgetOptions
;
...
...
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