Doceditor:Components:CompletedForm Fixed copy link file

This commit is contained in:
Akmal Isomadinov 2024-07-22 16:28:30 +05:00
parent 2c683c3ba6
commit 367f583e7d

View File

@ -140,7 +140,9 @@ export const CompletedForm = ({
};
const copyLinkFile = async () => {
const url = getFolderUrl(completedForm.folderId, false);
const origin = window.location.origin;
const url = `${origin}/doceditor?fileId=${completedForm.id}`;
await copyShareLink(url);
toastr.success(t("Common:LinkCopySuccess"));