Fixed Bug 57445: Client: Files: Added property to restore selection after fetching items
This commit is contained in:
parent
2ca378643d
commit
95e7d85c53
@ -569,7 +569,8 @@ class FilesStore {
|
||||
folderId,
|
||||
filter,
|
||||
clearFilter = true,
|
||||
withSubfolders = false
|
||||
withSubfolders = false,
|
||||
clearSelection = true
|
||||
) => {
|
||||
const {
|
||||
treeFolders,
|
||||
@ -646,7 +647,9 @@ class FilesStore {
|
||||
|
||||
if (clearFilter) {
|
||||
this.fileActionStore.setAction({ type: null });
|
||||
this.setSelected("close");
|
||||
if (clearSelection) {
|
||||
this.setSelected("close");
|
||||
}
|
||||
}
|
||||
|
||||
const navigationPath = await Promise.all(
|
||||
|
@ -1188,7 +1188,8 @@ class UploadDataStore {
|
||||
updatedFolder,
|
||||
newFilter ? newFilter : filter,
|
||||
true,
|
||||
true
|
||||
true,
|
||||
false
|
||||
).finally(() => {
|
||||
this.clearActiveOperations(fileIds, folderIds);
|
||||
setTimeout(() => clearSecondaryProgressData(), TIMEOUT);
|
||||
|
Loading…
Reference in New Issue
Block a user