Commit 812ecef2 authored by Enrique Alcántara's avatar Enrique Alcántara

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

Fix component option order in on_demand_scans

See merge request gitlab-org/gitlab!51368
parents b0883824 00ebeac1
...@@ -102,6 +102,11 @@ export default { ...@@ -102,6 +102,11 @@ export default {
); );
}, },
}, },
inject: {
dastSiteValidationDocsPath: {
default: '',
},
},
props: { props: {
helpPagePath: { helpPagePath: {
type: String, type: String,
...@@ -122,11 +127,6 @@ export default { ...@@ -122,11 +127,6 @@ export default {
default: null, default: null,
}, },
}, },
inject: {
dastSiteValidationDocsPath: {
default: '',
},
},
data() { data() {
const savedScansFields = this.glFeatures.dastSavedScans const savedScansFields = this.glFeatures.dastSavedScans
? { ? {
......
...@@ -9,13 +9,6 @@ export default { ...@@ -9,13 +9,6 @@ export default {
ProfileSelector, ProfileSelector,
}, },
mixins: [glFeatureFlagsMixin()], mixins: [glFeatureFlagsMixin()],
props: {
profiles: {
type: Array,
required: false,
default: () => [],
},
},
inject: { inject: {
scannerProfilesLibraryPath: { scannerProfilesLibraryPath: {
default: '', default: '',
...@@ -24,6 +17,13 @@ export default { ...@@ -24,6 +17,13 @@ export default {
default: '', default: '',
}, },
}, },
props: {
profiles: {
type: Array,
required: false,
default: () => [],
},
},
computed: { computed: {
formattedProfiles() { formattedProfiles() {
return this.profiles.map((profile) => { return this.profiles.map((profile) => {
......
...@@ -10,13 +10,6 @@ export default { ...@@ -10,13 +10,6 @@ export default {
ProfileSelector, ProfileSelector,
}, },
mixins: [glFeatureFlagsMixin()], mixins: [glFeatureFlagsMixin()],
props: {
profiles: {
type: Array,
required: false,
default: () => [],
},
},
inject: { inject: {
siteProfilesLibraryPath: { siteProfilesLibraryPath: {
default: '', default: '',
...@@ -25,6 +18,13 @@ export default { ...@@ -25,6 +18,13 @@ export default {
default: '', default: '',
}, },
}, },
props: {
profiles: {
type: Array,
required: false,
default: () => [],
},
},
computed: { computed: {
formattedProfiles() { formattedProfiles() {
return this.profiles.map((profile) => { 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