Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ export class ExcelExportService {
this._sheet.setData(finalOutput);
this._workbook.addWorksheet(this._sheet);

const excelBlob = await ExcelBuilder.Builder.createFile(this._workbook, { type: 'blob' });
const mimeType = this._fileFormat === FileType.xls ? 'application/vnd.ms-excel' : 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet ';
const excelBlob = await ExcelBuilder.Builder.createFile(this._workbook, { type: 'blob', mimeType });
const downloadOptions = {
filename: `${this._excelExportOptions.filename}.${this._fileFormat}`,
format: this._fileFormat
Expand Down