Commit 3c8faad1 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'migrate-to-vslot' into 'master'

Refactor deprecated named slots in Vue

See merge request gitlab-org/gitlab!24069
parents 21559c8f 0a52537d
......@@ -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