Commit dc107fdf authored by Mark Florian's avatar Mark Florian

Fix component option order in test_case_list

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

Part of https://gitlab.com/gitlab-org/gitlab/-/issues/297216.
parent a1239653
...@@ -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