Commit d1613bd6 authored by Kushal Pandya's avatar Kushal Pandya

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

Fix component option order in registry

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