From fd2cb3994554074e6edb9b6bfb7dab114dae0ab6 Mon Sep 17 00:00:00 2001
From: Pavel Kuzyakin <40692570+iposho@users.noreply.github.com>
Date: Thu, 28 Mar 2024 12:23:01 +0400
Subject: [PATCH] bug (UBERF-6137) Copy URL link does not work in this button
 (copy) (#5081)

Signed-off-by: Pavel Kuzyakin <iposho@gmail.com>
---
 .../src/components/issues/IssueNotification.svelte              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/tracker-resources/src/components/issues/IssueNotification.svelte b/plugins/tracker-resources/src/components/issues/IssueNotification.svelte
index 69672f6812..13d93da0fa 100644
--- a/plugins/tracker-resources/src/components/issues/IssueNotification.svelte
+++ b/plugins/tracker-resources/src/components/issues/IssueNotification.svelte
@@ -47,7 +47,7 @@
   }
 
   function handleCopyUrl (): void {
-    if (issue === undefined) {
+    if (issue !== undefined) {
       void copyTextToClipboard(params?.issueUrl)
     }
   }