From ff2ef8d0d64d62cd2d727059fadd88e513fe576a Mon Sep 17 00:00:00 2001
From: "julia.kirschenheuter" <julia.kirschenheuter@nextcloud.com>
Date: Fri, 17 Nov 2023 16:45:22 +0100
Subject: Replace ActionLink with ActionButton on sharing tab

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
So-authored-by: Grigorii K. Shartsev <me@shgk.me>
---
 apps/files_sharing/src/components/SharingEntryLink.vue | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'apps/files_sharing/src/components/SharingEntryLink.vue')

diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue
index 3247b989f67..77caaee0154 100644
--- a/apps/files_sharing/src/components/SharingEntryLink.vue
+++ b/apps/files_sharing/src/components/SharingEntryLink.vue
@@ -43,12 +43,10 @@
 
 			<!-- clipboard -->
 			<NcActions v-if="share && !isEmailShareType && share.token" ref="copyButton" class="sharing-entry__copy">
-				<NcActionLink :href="shareLink"
-					target="_blank"
-					:title="copyLinkTooltip"
+				<NcActionButton	:title="copyLinkTooltip"
 					:aria-label="copyLinkTooltip"
 					:icon="copied && copySuccess ? 'icon-checkmark-color' : 'icon-clippy'"
-					@click.stop.prevent="copyLink" />
+					@click.prevent="copyLink" />
 			</NcActions>
 		</div>
 
-- 
cgit v1.2.3

