Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0a52537d
Commit
0a52537d
authored
Feb 13, 2020
by
Dheeraj Joshi
Committed by
Natalia Tepluhina
Feb 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor deprecated named slots in Vue
parent
b9940c46
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
105 additions
and
103 deletions
+105
-103
ee/app/assets/javascripts/vue_shared/security_reports/grouped_security_reports_app.vue
..._shared/security_reports/grouped_security_reports_app.vue
+105
-103
No files found.
ee/app/assets/javascripts/vue_shared/security_reports/grouped_security_reports_app.vue
View file @
0a52537d
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment