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
df27f7bd
Commit
df27f7bd
authored
Dec 13, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken check status function [ci skip]
parent
16c0ac7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ee/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
...javascripts/vue_merge_request_widget/mr_widget_options.js
+5
-5
No files found.
ee/app/assets/javascripts/vue_merge_request_widget/mr_widget_options.js
View file @
df27f7bd
...
...
@@ -156,23 +156,23 @@ export default {
},
codequalityStatus
()
{
return
this
.
checkStatus
(
this
.
isLoadingCodequality
,
this
.
loadingCodequalityFailed
);
return
this
.
check
Report
Status
(
this
.
isLoadingCodequality
,
this
.
loadingCodequalityFailed
);
},
performanceStatus
()
{
return
this
.
checkStatus
(
this
.
isLoadingPerformance
,
this
.
loadingPerformanceFailed
);
return
this
.
check
Report
Status
(
this
.
isLoadingPerformance
,
this
.
loadingPerformanceFailed
);
},
securityStatus
()
{
return
this
.
checkStatus
(
this
.
isLoadingSecurity
,
this
.
loadingSecurityFailed
);
return
this
.
check
Report
Status
(
this
.
isLoadingSecurity
,
this
.
loadingSecurityFailed
);
},
dockerStatus
()
{
return
this
.
checkStatus
(
this
.
isLoadingDocker
,
this
.
loadingDockerFailed
);
return
this
.
check
Report
Status
(
this
.
isLoadingDocker
,
this
.
loadingDockerFailed
);
},
},
methods
:
{
checkStatus
(
loading
,
error
)
{
check
Report
Status
(
loading
,
error
)
{
if
(
loading
)
{
return
'
loading
'
;
}
else
if
(
error
)
{
...
...
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