Commit df27f7bd authored by Filipa Lacerda's avatar Filipa Lacerda

Fix broken check status function [ci skip]

parent 16c0ac7e
......@@ -156,23 +156,23 @@ export default {
},
codequalityStatus() {
return this.checkStatus(this.isLoadingCodequality, this.loadingCodequalityFailed);
return this.checkReportStatus(this.isLoadingCodequality, this.loadingCodequalityFailed);
},
performanceStatus() {
return this.checkStatus(this.isLoadingPerformance, this.loadingPerformanceFailed);
return this.checkReportStatus(this.isLoadingPerformance, this.loadingPerformanceFailed);
},
securityStatus() {
return this.checkStatus(this.isLoadingSecurity, this.loadingSecurityFailed);
return this.checkReportStatus(this.isLoadingSecurity, this.loadingSecurityFailed);
},
dockerStatus() {
return this.checkStatus(this.isLoadingDocker, this.loadingDockerFailed);
return this.checkReportStatus(this.isLoadingDocker, this.loadingDockerFailed);
},
},
methods: {
checkStatus(loading, error) {
checkReportStatus(loading, error) {
if (loading) {
return 'loading';
} else if (error) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment