Commit 30d28690 authored by Mark Florian's avatar Mark Florian

Fix component option order in registry

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

Part of https://gitlab.com/gitlab-org/gitlab/-/issues/297216.
parent a1239653
......@@ -19,8 +19,8 @@ export default {
GlDropdown,
CodeInstruction,
},
inject: ['config', 'dockerBuildCommand', 'dockerPushCommand', 'dockerLoginCommand'],
mixins: [Tracking.mixin({ label: trackingLabel })],
inject: ['config', 'dockerBuildCommand', 'dockerPushCommand', 'dockerLoginCommand'],
trackingLabel,
i18n: {
QUICK_START,
......
......@@ -3,12 +3,12 @@ import { GlEmptyState, GlSprintf, GlLink } from '@gitlab/ui';
export default {
name: 'GroupEmptyState',
inject: ['config'],
components: {
GlEmptyState,
GlSprintf,
GlLink,
},
inject: ['config'],
};
</script>
<template>
......
......@@ -37,11 +37,11 @@ export default {
TagsLoader,
EmptyTagsState,
},
inject: ['breadCrumbState', 'config'],
directives: {
GlResizeObserver: GlResizeObserverDirective,
},
mixins: [Tracking.mixin()],
inject: ['breadCrumbState', 'config'],
apollo: {
image: {
query: getContainerRepositoryDetailsQuery,
......
......@@ -61,11 +61,11 @@ export default {
GlSearchBoxByClick,
RegistryHeader,
},
inject: ['config'],
directives: {
GlTooltip: GlTooltipDirective,
},
mixins: [Tracking.mixin()],
inject: ['config'],
loader: {
repeat: 10,
width: 1000,
......
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