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 { ...@@ -156,23 +156,23 @@ export default {
}, },
codequalityStatus() { codequalityStatus() {
return this.checkStatus(this.isLoadingCodequality, this.loadingCodequalityFailed); return this.checkReportStatus(this.isLoadingCodequality, this.loadingCodequalityFailed);
}, },
performanceStatus() { performanceStatus() {
return this.checkStatus(this.isLoadingPerformance, this.loadingPerformanceFailed); return this.checkReportStatus(this.isLoadingPerformance, this.loadingPerformanceFailed);
}, },
securityStatus() { securityStatus() {
return this.checkStatus(this.isLoadingSecurity, this.loadingSecurityFailed); return this.checkReportStatus(this.isLoadingSecurity, this.loadingSecurityFailed);
}, },
dockerStatus() { dockerStatus() {
return this.checkStatus(this.isLoadingDocker, this.loadingDockerFailed); return this.checkReportStatus(this.isLoadingDocker, this.loadingDockerFailed);
}, },
}, },
methods: { methods: {
checkStatus(loading, error) { checkReportStatus(loading, error) {
if (loading) { if (loading) {
return 'loading'; return 'loading';
} else if (error) { } 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