diff options
Diffstat (limited to 'app/assets/javascripts/reports')
-rw-r--r-- | app/assets/javascripts/reports/components/issue_body.js | 16 | ||||
-rw-r--r-- | app/assets/javascripts/reports/components/report_item.vue | 6 |
2 files changed, 8 insertions, 14 deletions
diff --git a/app/assets/javascripts/reports/components/issue_body.js b/app/assets/javascripts/reports/components/issue_body.js index 6014d9d6ad8..04e72809e62 100644 --- a/app/assets/javascripts/reports/components/issue_body.js +++ b/app/assets/javascripts/reports/components/issue_body.js @@ -1,18 +1,16 @@ import IssueStatusIcon from '~/reports/components/issue_status_icon.vue'; -import AccessibilityIssueBody from '../accessibility_report/components/accessibility_issue_body.vue'; -import CodequalityIssueBody from '../codequality_report/components/codequality_issue_body.vue'; -import TestIssueBody from '../grouped_test_report/components/test_issue_body.vue'; export const components = { - AccessibilityIssueBody, - CodequalityIssueBody, - TestIssueBody, + AccessibilityIssueBody: () => + import('../accessibility_report/components/accessibility_issue_body.vue'), + CodequalityIssueBody: () => import('../codequality_report/components/codequality_issue_body.vue'), + TestIssueBody: () => import('../grouped_test_report/components/test_issue_body.vue'), }; export const componentNames = { - AccessibilityIssueBody: AccessibilityIssueBody.name, - CodequalityIssueBody: CodequalityIssueBody.name, - TestIssueBody: TestIssueBody.name, + AccessibilityIssueBody: 'AccessibilityIssueBody', + CodequalityIssueBody: 'CodequalityIssueBody', + TestIssueBody: 'TestIssueBody', }; export const iconComponents = { diff --git a/app/assets/javascripts/reports/components/report_item.vue b/app/assets/javascripts/reports/components/report_item.vue index 8871da8fbd7..918263bfb5c 100644 --- a/app/assets/javascripts/reports/components/report_item.vue +++ b/app/assets/javascripts/reports/components/report_item.vue @@ -53,11 +53,7 @@ export default { }; </script> <template> - <li - :class="{ 'is-dismissed': issue.isDismissed }" - class="report-block-list-issue align-items-center" - data-qa-selector="report_item_row" - > + <li class="report-block-list-issue align-items-center" data-qa-selector="report_item_row"> <component :is="iconComponent" v-if="showReportSectionStatusIcon" |