Commit afd7b679 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

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

Fix component option order in test_case_list

See merge request gitlab-org/gitlab!51375
parents 67faffd0 dc107fdf
...@@ -11,6 +11,7 @@ export default { ...@@ -11,6 +11,7 @@ export default {
GlSprintf, GlSprintf,
GlLink, GlLink,
}, },
inject: ['canCreateTestCase', 'testCaseNewPath', 'emptyStatePath'],
props: { props: {
currentState: { currentState: {
type: String, type: String,
...@@ -21,7 +22,6 @@ export default { ...@@ -21,7 +22,6 @@ export default {
required: true, required: true,
}, },
}, },
inject: ['canCreateTestCase', 'testCaseNewPath', 'emptyStatePath'],
computed: { computed: {
emptyStateTitle() { emptyStateTitle() {
return this.testCasesCount[TestCaseStates.All] return this.testCasesCount[TestCaseStates.All]
......
...@@ -29,13 +29,6 @@ export default { ...@@ -29,13 +29,6 @@ export default {
IssuableList, IssuableList,
TestCaseListEmptyState, TestCaseListEmptyState,
}, },
props: {
initialFilterParams: {
type: Object,
required: false,
default: () => ({}),
},
},
inject: [ inject: [
'canCreateTestCase', 'canCreateTestCase',
'initialState', 'initialState',
...@@ -47,6 +40,13 @@ export default { ...@@ -47,6 +40,13 @@ export default {
'projectLabelsPath', 'projectLabelsPath',
'testCaseNewPath', 'testCaseNewPath',
], ],
props: {
initialFilterParams: {
type: Object,
required: false,
default: () => ({}),
},
},
apollo: { apollo: {
testCases: { testCases: {
query: projectTestCases, query: projectTestCases,
......
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