This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit 055b441407e01770bc49b401e2c2193c583f7f11
Author: Marcus Christie <[email protected]>
AuthorDate: Thu Jul 25 10:47:42 2019 -0400

    AIRAVATA-3162 Remove unnecessary use of b-link
    
    b-link changed from a functional to a regular Vue
    component in 2.0.0-rc.26 which changes to get a
    reference to its element ($el) which is needed to
    integrate the Clipboard library with the link. Since b-link
    isn't really needed, I switched it to just a regular a tag.
---
 django_airavata/static/common/js/components/ClipboardCopyLink.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/django_airavata/static/common/js/components/ClipboardCopyLink.vue 
b/django_airavata/static/common/js/components/ClipboardCopyLink.vue
index f50914f..1d5e894 100644
--- a/django_airavata/static/common/js/components/ClipboardCopyLink.vue
+++ b/django_airavata/static/common/js/components/ClipboardCopyLink.vue
@@ -1,13 +1,13 @@
 <template>
   <div style="display: inline-block">
-    <b-link ref="copyLink" :data-clipboard-text="text" class="action-link" 
:class="linkClasses">
+    <a href="#" ref="copyLink" :data-clipboard-text="text" class="action-link" 
:class="linkClasses">
       <slot>
         Copy Key
       </slot>
       <slot name="icon">
         <i class="far fa-clipboard"></i>
       </slot>
-    </b-link>
+    </a>
     <b-tooltip :show="show" :disabled="!show" :target="() => $refs.copyLink">
       <slot name="tooltip">Copied!</slot>
     </b-tooltip>

Reply via email to