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 {
GlSprintf,
GlLink,
},
inject: ['canCreateTestCase', 'testCaseNewPath', 'emptyStatePath'],
props: {
currentState: {
type: String,
......@@ -21,7 +22,6 @@ export default {
required: true,
},
},
inject: ['canCreateTestCase', 'testCaseNewPath', 'emptyStatePath'],
computed: {
emptyStateTitle() {
return this.testCasesCount[TestCaseStates.All]
......
......@@ -29,13 +29,6 @@ export default {
IssuableList,
TestCaseListEmptyState,
},
props: {
initialFilterParams: {
type: Object,
required: false,
default: () => ({}),
},
},
inject: [
'canCreateTestCase',
'initialState',
......@@ -47,6 +40,13 @@ export default {
'projectLabelsPath',
'testCaseNewPath',
],
props: {
initialFilterParams: {
type: Object,
required: false,
default: () => ({}),
},
},
apollo: {
testCases: {
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