Commit 00ebeac1 authored by Mark Florian's avatar Mark Florian

Fix component option order in on_demand_scans

This fixes `vue/order-in-components` violations in the
`{,ee/}app/assets/javascripts/on_demand_scans` directories.

Part of https://gitlab.com/gitlab-org/gitlab/-/issues/297216.
parent a1239653
......@@ -102,6 +102,11 @@ export default {
);
},
},
inject: {
dastSiteValidationDocsPath: {
default: '',
},
},
props: {
helpPagePath: {
type: String,
......@@ -122,11 +127,6 @@ export default {
default: null,
},
},
inject: {
dastSiteValidationDocsPath: {
default: '',
},
},
data() {
const savedScansFields = this.glFeatures.dastSavedScans
? {
......
......@@ -9,13 +9,6 @@ export default {
ProfileSelector,
},
mixins: [glFeatureFlagsMixin()],
props: {
profiles: {
type: Array,
required: false,
default: () => [],
},
},
inject: {
scannerProfilesLibraryPath: {
default: '',
......@@ -24,6 +17,13 @@ export default {
default: '',
},
},
props: {
profiles: {
type: Array,
required: false,
default: () => [],
},
},
computed: {
formattedProfiles() {
return this.profiles.map((profile) => {
......
......@@ -10,13 +10,6 @@ export default {
ProfileSelector,
},
mixins: [glFeatureFlagsMixin()],
props: {
profiles: {
type: Array,
required: false,
default: () => [],
},
},
inject: {
siteProfilesLibraryPath: {
default: '',
......@@ -25,6 +18,13 @@ export default {
default: '',
},
},
props: {
profiles: {
type: Array,
required: false,
default: () => [],
},
},
computed: {
formattedProfiles() {
return this.profiles.map((profile) => {
......
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