fix: download zip

This commit is contained in:
Monta
2024-07-22 14:41:34 +01:00
committed by ericlinagora
parent b1b635a8c7
commit 881eb6515a
2 changed files with 2 additions and 2 deletions
@@ -99,7 +99,7 @@ export const useDriveActions = () => {
);
const downloadZip = useCallback(
async (ids: string[], isDirectory?: boolean) => {
async (ids: string[], isDirectory = false) => {
try {
const url = await DriveApiClient.getDownloadZipUrl(companyId, ids, isDirectory);
(window as any).open(url, '_blank').focus();