[WEB-4052]fix: sub work item copy link (#7036)

* fix: sub work item copy link

* fix: copy url to clipboard
This commit is contained in:
Vamsi Krishna 2025-05-09 14:22:34 +05:30 committed by GitHub
parent ac5b974d67
commit 2785419d12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,7 @@ export const useSubIssueOperations = (issueServiceType: TIssueServiceType): TSub
const subIssueOperations: TSubIssueOperations = useMemo(
() => ({
copyLink: (path) => {
copyUrlToClipboard(`/${path}`).then(() => {
copyUrlToClipboard(path).then(() => {
setToast({
type: TOAST_TYPE.SUCCESS,
title: t("common.link_copied"),