Feat: Add tooltip to question item of ChunkCreatingModal #3873 (#3880)

### What problem does this PR solve?

Feat: Add tooltip to question item of ChunkCreatingModal  #3873

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-12-05 17:03:20 +08:00
committed by GitHub
parent 1f0a153d0e
commit 3a0e9f9263
7 changed files with 39 additions and 35 deletions

View File

@ -112,20 +112,6 @@ export const downloadFileFromBlob = (blob: Blob, name?: string) => {
window.URL.revokeObjectURL(url);
};
export const downloadFile = async ({
id,
filename,
target,
}: {
id: string;
filename?: string;
target?: string;
}) => {
const response = await fileManagerService.getFile({}, id);
const blob = new Blob([response.data], { type: response.data.type });
downloadFileFromBlob(blob, filename);
};
export const downloadDocument = async ({
id,
filename,