feat: use browser download manager for single file downloads (#17507)
* Fix download panel reactivity * Directly download individual files without buffering in memory * Fix shared link e2e download tests
This commit is contained in:
committed by
GitHub
parent
43e3075f93
commit
9e49783e49
@@ -29,6 +29,7 @@ const update = (key: string, value: Partial<DownloadProgress> | null) => {
|
||||
const item = newState[key];
|
||||
Object.assign(item, value);
|
||||
item.percentage = Math.min(Math.floor((item.progress / item.total) * 100), 100);
|
||||
newState[key] = { ...item };
|
||||
|
||||
return newState;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user