diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-08 00:08:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-08 00:08:27 +0300 |
commit | 4df2fd43039fb3f09086525501db071790e1699f (patch) | |
tree | 9af966dc861351d7a7d97dd9f6a586d5700a63d3 /app/assets/javascripts/runner | |
parent | c2bdb9d02768a61bee7560113f4d4c83dc91338e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/runner')
-rw-r--r-- | app/assets/javascripts/runner/components/runner_assigned_item.vue | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/javascripts/runner/components/runner_assigned_item.vue b/app/assets/javascripts/runner/components/runner_assigned_item.vue index ea8074199a6..38bdfecb7df 100644 --- a/app/assets/javascripts/runner/components/runner_assigned_item.vue +++ b/app/assets/javascripts/runner/components/runner_assigned_item.vue @@ -1,5 +1,6 @@ <script> import { GlAvatar, GlLink } from '@gitlab/ui'; +import { AVATAR_SHAPE_OPTION_RECT } from '~/vue_shared/constants'; export default { components: { @@ -25,13 +26,20 @@ export default { default: null, }, }, + AVATAR_SHAPE_OPTION_RECT, }; </script> <template> <div class="gl-display-flex gl-align-items-center gl-py-5"> <gl-link :href="href" data-testid="item-avatar" class="gl-text-decoration-none! gl-mr-3"> - <gl-avatar shape="rect" :entity-name="name" :alt="name" :src="avatarUrl" :size="48" /> + <gl-avatar + :shape="$options.AVATAR_SHAPE_OPTION_RECT" + :entity-name="name" + :alt="name" + :src="avatarUrl" + :size="48" + /> </gl-link> <gl-link :href="href" class="gl-font-weight-bold gl-text-gray-900!">{{ fullName }}</gl-link> |