Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-26 00:09:20 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-26 00:09:20 +0300
commit7625bc732c8b330989913fd933e6e94ecd4a1957 (patch)
tree6142552413072c5eeecbeaef2107d5c469a203bc /app/assets/javascripts/artifacts
parent0351d9ed83635ce3258e2d09ba92b46a7cdcfa61 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/artifacts')
-rw-r--r--app/assets/javascripts/artifacts/components/artifact_row.vue10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/assets/javascripts/artifacts/components/artifact_row.vue b/app/assets/javascripts/artifacts/components/artifact_row.vue
index 92044a3641a..b6cea6a04e3 100644
--- a/app/assets/javascripts/artifacts/components/artifact_row.vue
+++ b/app/assets/javascripts/artifacts/components/artifact_row.vue
@@ -1,5 +1,5 @@
<script>
-import { GlButtonGroup, GlButton, GlBadge } from '@gitlab/ui';
+import { GlButtonGroup, GlButton, GlBadge, GlFriendlyWrap } from '@gitlab/ui';
import { numberToHumanSize } from '~/lib/utils/number_utils';
import { I18N_EXPIRED, I18N_DOWNLOAD, I18N_DELETE } from '../constants';
@@ -9,6 +9,7 @@ export default {
GlButtonGroup,
GlButton,
GlBadge,
+ GlFriendlyWrap,
},
props: {
artifact: {
@@ -48,8 +49,11 @@ export default {
:class="{ 'gl-border-b-solid gl-border-b-1 gl-border-gray-100': !isLastRow }"
>
<div class="gl-display-inline-flex gl-align-items-center gl-w-full">
- <span class="gl-w-half gl-pl-8 gl-display-flex" data-testid="job-artifact-row-name">
- {{ artifact.name }}
+ <span
+ class="gl-w-half gl-pl-8 gl-display-flex gl-align-items-center"
+ data-testid="job-artifact-row-name"
+ >
+ <gl-friendly-wrap :text="artifact.name" />
<gl-badge size="sm" variant="neutral" class="gl-ml-2">
{{ artifact.fileType.toLowerCase() }}
</gl-badge>