diff --git a/frontend/components/modal/ModalSharePage.vue b/frontend/components/modal/ModalSharePage.vue
index f5d8a0816..158adedf7 100644
--- a/frontend/components/modal/ModalSharePage.vue
+++ b/frontend/components/modal/ModalSharePage.vue
@@ -94,10 +94,51 @@
iconSize="1.5em"
/>
-
+
+
+
{
+const copyToClipboard = async (
+ name: string,
+ url: string,
+ redirectURL?: string
+) => {
try {
await navigator.clipboard.writeText(url);
contentCopied.value = true;
setTimeout(() => {
contentCopied.value = false;
+ if (redirectURL) {
+ window.open(redirectURL, "_blank");
+ }
}, 2000);
} catch (error) {
console.error(`Could not copy text: ${error}`);