Web: Files: Added the ability to open the option to Share in Favorites and Recent folders.
This commit is contained in:
parent
a96b66569a
commit
30a2718e97
@ -695,8 +695,7 @@ class FilesActionStore {
|
||||
|
||||
const removeDownloadAs = !hasSelection || !isWebEditSelected;
|
||||
|
||||
const removeShare =
|
||||
isFavoritesFolder || isRecentFolder || !isAccessedSelected;
|
||||
const removeShare = !isAccessedSelected; //isFavoritesFolder || isRecentFolder
|
||||
const removeDownload = !hasSelection;
|
||||
|
||||
const removeMoveTo =
|
||||
|
@ -550,7 +550,7 @@ class FilesStore {
|
||||
fileOptions = this.removeOptions(fileOptions, [
|
||||
"copy",
|
||||
"move-to",
|
||||
"sharing-settings",
|
||||
//"sharing-settings",
|
||||
"unsubscribe",
|
||||
]);
|
||||
}
|
||||
@ -981,9 +981,9 @@ class FilesStore {
|
||||
case FolderType.TRASH:
|
||||
return false;
|
||||
case FolderType.Favorites:
|
||||
return false;
|
||||
return true; // false;
|
||||
case FolderType.Recent:
|
||||
return false;
|
||||
return true; //false;
|
||||
case FolderType.Privacy:
|
||||
return true;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user