Fix Bug 66958

The document does not open using an external link copied from Recent
This commit is contained in:
Viktor Fomin 2024-04-15 17:19:35 +03:00
parent 137ffd5547
commit d0bdc30861

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"));
}