Commit 2ea0c5db authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch 'fix-vue-order-in-components-security_dashboard' into 'master'

Fix component option order in security_dashboard

See merge request gitlab-org/gitlab!51373
parents 8b958468 43b3804d
......@@ -6,13 +6,13 @@ export default {
components: {
GlEmptyState,
},
inject: ['emptyStateSvgPath'],
props: {
helpPath: {
type: String,
required: true,
},
},
inject: ['emptyStateSvgPath'],
DESCRIPTION: s__(
`SecurityReports|The security dashboard displays the latest security report. Use it to find and fix vulnerabilities.`,
),
......
......@@ -25,6 +25,7 @@ export default {
Filters,
},
mixins: [glFeatureFlagsMixin()],
inject: ['dashboardDocumentation', 'autoFixDocumentation', 'projectFullPath'],
props: {
securityDashboardHelpPath: {
type: String,
......@@ -49,7 +50,6 @@ export default {
shoudShowAutoFixUserCallout,
};
},
inject: ['dashboardDocumentation', 'autoFixDocumentation', 'projectFullPath'],
methods: {
handleFilterChange(filters) {
this.filters = filters;
......
......@@ -9,6 +9,7 @@ export default {
GlLink,
GlSprintf,
},
inject: ['notEnabledScannersHelpPath', 'noPipelineRunScannersHelpPath'],
props: {
notEnabledScanners: {
type: Array,
......@@ -19,7 +20,6 @@ export default {
required: true,
},
},
inject: ['notEnabledScannersHelpPath', 'noPipelineRunScannersHelpPath'],
computed: {
alertMessages() {
return [
......
......@@ -49,10 +49,10 @@ export default {
FiltersProducedNoResults,
DashboardHasNoVulnerabilities,
},
inject: ['hasVulnerabilities'],
directives: {
GlTooltip: GlTooltipDirective,
},
inject: ['hasVulnerabilities'],
props: {
filters: {
type: Object,
......
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