fix(explorer): save as shortcut does not work for shared folders in community edition (cloudreve/cloudreve#2818)

This commit is contained in:
Aaron Liu 2025-09-02 13:01:13 +08:00
parent 31698e2288
commit e53eb86a32

View File

@ -872,7 +872,7 @@ export function createShareShortcut(index: number): AppThunk {
const base = fm?.path_root;
const isSingleFile = fm?.list?.single_file_view;
const files = fm?.list?.files;
if (!base || !isSingleFile || !files || files.length != 1) {
if (!base || !files) {
return;
}