Commit a17523c3 authored by Gilang Gumilar's avatar Gilang Gumilar Committed by Andrew Fontaine

Update deprecated slot syntax in...

Update deprecated slot syntax in `app/assets/javascripts/reports/components/grouped_test_reports_app.vue`
parent 82451021
...@@ -98,25 +98,27 @@ export default { ...@@ -98,25 +98,27 @@ export default {
:has-issues="reports.length > 0" :has-issues="reports.length > 0"
class="mr-widget-section grouped-security-reports mr-report" class="mr-widget-section grouped-security-reports mr-report"
> >
<div slot="body" class="mr-widget-grouped-section report-block"> <template #body>
<template v-for="(report, i) in reports"> <div class="mr-widget-grouped-section report-block">
<summary-row <template v-for="(report, i) in reports">
:key="`summary-row-${i}`" <summary-row
:summary="reportText(report)" :key="`summary-row-${i}`"
:status-icon="getReportIcon(report)" :summary="reportText(report)"
/> :status-icon="getReportIcon(report)"
<issues-list />
v-if="shouldRenderIssuesList(report)" <issues-list
:key="`issues-list-${i}`" v-if="shouldRenderIssuesList(report)"
:unresolved-issues="unresolvedIssues(report)" :key="`issues-list-${i}`"
:new-issues="newIssues(report)" :unresolved-issues="unresolvedIssues(report)"
:resolved-issues="resolvedIssues(report)" :new-issues="newIssues(report)"
:component="$options.componentNames.TestIssueBody" :resolved-issues="resolvedIssues(report)"
class="report-block-group-list" :component="$options.componentNames.TestIssueBody"
/> class="report-block-group-list"
</template> />
</template>
<modal :title="modalTitle" :modal-data="modalData" /> <modal :title="modalTitle" :modal-data="modalData" />
</div> </div>
</template>
</report-section> </report-section>
</template> </template>
---
title: Update deprecated slot syntax in app/assets/javascripts/reports/components/grouped_test_reports_app.vue
merge_request: 31975
author: Gilang Gumilar
type: other
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