diff options
author | sarahghp <sarah.groff.palermo@gmail.com> | 2019-06-20 13:05:01 -0400 |
---|---|---|
committer | sarahghp <sarah.groff.palermo@gmail.com> | 2019-06-20 13:05:01 -0400 |
commit | df80cff1de1c2ade32280be58b528b1374b6326f (patch) | |
tree | 3b24b5a9f206c0527290d9b54e0ab8988e6eb060 | |
parent | d98bae878f95e27f235d6c674eab839fe5de005a (diff) | |
download | gitlab-ce-df80cff1de1c2ade32280be58b528b1374b6326f.tar.gz |
Add CE backport11707-add-copy-to-clipboard-cursed-backport
-rw-r--r-- | app/assets/javascripts/vue_shared/components/modal_copy_button.vue | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_shared/components/modal_copy_button.vue b/app/assets/javascripts/vue_shared/components/modal_copy_button.vue index bf59a6abf3f..edbeab9c600 100644 --- a/app/assets/javascripts/vue_shared/components/modal_copy_button.vue +++ b/app/assets/javascripts/vue_shared/components/modal_copy_button.vue @@ -26,6 +26,11 @@ export default { required: false, default: '', }, + cssClasses: { + type: String, + required: false, + default: '', + }, modalId: { type: String, required: false, @@ -110,6 +115,7 @@ export default { <template> <gl-button v-gl-tooltip="{ placement: tooltipPlacement, container: tooltipContainer }" + :class="cssClasses" :data-clipboard-target="target" :data-clipboard-text="text" :title="title" |