Merge pull request #342 from ONLYOFFICE/bugfix/Bug66958

bugfix/Bug66958
This commit is contained in:
Alexey Safronov 2024-04-15 19:50:08 +04:00 committed by GitHub
commit 2151ef285e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -372,7 +372,10 @@ class ContextOptionsStore {
return toastr.success(t("Translations:LinkCopySuccess"));
}
if (item.rootFolderType === FolderType.SHARE) {
if (
item.rootFolderType === FolderType.Recent ||
item.rootFolderType === FolderType.SHARE
) {
copy(item.webUrl);
return toastr.success(t("Translations:LinkCopySuccess"));
}