Redesign file context menus and download archives using global preference
This commit is contained in:
1 parent
6aca927851
commit
042392f611
22 files changed
+530
-363
No files matched your search
@@ -99,7 +99,7 @@ export function download(format: any, ...files: string[]) {
|
||||
url += `algo=${format}&`;
|
||||
}
|
||||
|
||||
window.open(url);
|
||||
window.location.assign(url);
|
||||
}
|
||||
|
||||
export async function post(
|
||||
|
||||
@@ -62,7 +62,7 @@ export function download(
|
||||
url += `token=${token}&`;
|
||||
}
|
||||
|
||||
window.open(url);
|
||||
window.location.assign(url);
|
||||
}
|
||||
|
||||
export function getDownloadURL(res: Resource, inline = false) {
|
||||
|
||||
Reference in new issue
Block a user