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