diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-03 06:10:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-03 06:10:45 +0300 |
commit | 26dfad7651130842a18a3c05c7a9731084da1695 (patch) | |
tree | 7ece60724f7be7381fb30a4de87fdba3a44ef27a /app/assets/javascripts/packages_and_registries | |
parent | d81023e4e939cb2c689bf446f5baf724bc5faeaa (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/packages_and_registries')
-rw-r--r-- | app/assets/javascripts/packages_and_registries/container_registry/explorer/components/list_page/image_list_row.vue | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/app/assets/javascripts/packages_and_registries/container_registry/explorer/components/list_page/image_list_row.vue b/app/assets/javascripts/packages_and_registries/container_registry/explorer/components/list_page/image_list_row.vue index 80bca536b7c..23d8e97dd79 100644 --- a/app/assets/javascripts/packages_and_registries/container_registry/explorer/components/list_page/image_list_row.vue +++ b/app/assets/javascripts/packages_and_registries/container_registry/explorer/components/list_page/image_list_row.vue @@ -3,7 +3,6 @@ import { GlTooltipDirective, GlIcon, GlSprintf, GlSkeletonLoader, GlButton } fro import { getIdFromGraphQLId } from '~/graphql_shared/utils'; import { n__ } from '~/locale'; import Tracking from '~/tracking'; -import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin'; import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import ListItem from '~/vue_shared/components/registry/list_item.vue'; import { joinPaths } from '~/lib/utils/url_utility'; @@ -38,7 +37,7 @@ export default { directives: { GlTooltip: GlTooltipDirective, }, - mixins: [Tracking.mixin(), glFeatureFlagsMixin()], + mixins: [Tracking.mixin()], inject: ['config'], props: { item: { @@ -91,17 +90,14 @@ export default { ); }, imageName() { - if (this.glFeatures.containerRegistryShowShortenedPath) { - if (this.showFullPath) { - return this.item.path; - } - const projectPath = this.item?.project?.path?.toLowerCase() ?? ''; - if (this.item.name) { - return joinPaths(projectPath, this.item.name); - } - return projectPath; + if (this.showFullPath) { + return this.item.path; } - return this.item.path; + const projectPath = this.item?.project?.path?.toLowerCase() ?? ''; + if (this.item.name) { + return joinPaths(projectPath, this.item.name); + } + return projectPath; }, routerLinkEvent() { return this.deleting ? '' : 'click'; @@ -136,7 +132,7 @@ export default { > <template #left-primary> <gl-button - v-if="glFeatures.containerRegistryShowShortenedPath && !showFullPath" + v-if="!showFullPath" v-gl-tooltip="{ placement: 'top', title: $options.i18n.IMAGE_FULL_PATH_LABEL, |