Commit babb2523 authored by Kev's avatar Kev

Fix 'copy sha' in 'add previous commits' modal doesn't copy

parent e59fa655
......@@ -6,7 +6,7 @@ import { GlButtonGroup, GlButton, GlTooltipDirective, GlIcon } from '@gitlab/ui'
import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue';
import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
import ModalCopyButton from '~/vue_shared/components/modal_copy_button.vue';
import TimeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue';
import CommitPipelineStatus from '~/projects/tree/components/commit_pipeline_status_component.vue';
......@@ -39,7 +39,7 @@ import { setUrlParams } from '../../lib/utils/url_utility';
export default {
components: {
UserAvatarLink,
ClipboardButton,
ModalCopyButton,
TimeAgoTooltip,
CommitPipelineStatus,
GlButtonGroup,
......@@ -142,7 +142,7 @@ export default {
data-testid="commit-sha-short-id"
v-text="commit.short_id"
/>
<clipboard-button
<modal-copy-button
:text="commit.id"
:title="__('Copy commit SHA')"
class="input-group-text"
......
---
title: Fix 'copy sha' in 'add previous commits' modal doesn't copy
merge_request: 50921
author: Kev @KevSlashNull
type: fixed
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