Commit 0a52537d authored by Dheeraj Joshi's avatar Dheeraj Joshi Committed by Natalia Tepluhina

Refactor deprecated named slots in Vue

parent b9940c46
...@@ -279,7 +279,8 @@ export default { ...@@ -279,7 +279,8 @@ export default {
class="mr-widget-border-top grouped-security-reports mr-report" class="mr-widget-border-top grouped-security-reports mr-report"
data-qa-selector="vulnerability_report_grouped" data-qa-selector="vulnerability_report_grouped"
> >
<div v-if="pipelinePath" slot="actionButtons"> <template v-if="pipelinePath" #actionButtons>
<div>
<a <a
:href="securityTab" :href="securityTab"
target="_blank" target="_blank"
...@@ -289,16 +290,16 @@ export default { ...@@ -289,16 +290,16 @@ export default {
<icon :size="16" name="external-link" /> <icon :size="16" name="external-link" />
</a> </a>
</div> </div>
</template>
<div <template v-if="isMRActive && isBaseSecurityReportOutOfDate" #subHeading>
v-if="isMRActive && isBaseSecurityReportOutOfDate" <div class="text-secondary-700 text-1">
slot="subHeading"
class="text-secondary-700 text-1"
>
<span>{{ subHeadingText }}</span> <span>{{ subHeadingText }}</span>
</div> </div>
</template>
<div slot="body" class="mr-widget-grouped-section report-block"> <template #body>
<div class="mr-widget-grouped-section report-block">
<template v-if="hasSastReports"> <template v-if="hasSastReports">
<summary-row <summary-row
:summary="groupedSastText" :summary="groupedSastText"
...@@ -392,5 +393,6 @@ export default { ...@@ -392,5 +393,6 @@ export default {
@hideDismissalDeleteButtons="hideDismissalDeleteButtons" @hideDismissalDeleteButtons="hideDismissalDeleteButtons"
/> />
</div> </div>
</template>
</report-section> </report-section>
</template> </template>
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