real-boxses exel download
This commit is contained in:
@@ -120,7 +120,7 @@ const DashboardRealBoxesPage = (props: Props) => {
|
||||
try {
|
||||
setDownloadIds(p => [...p, id]);
|
||||
const response = await real_box_requests.downloadExcel({ boxId: id });
|
||||
const file = new File([response.data], 'Box-excel.xlsx', { type: response.data.type });
|
||||
const file = new File([response.data], 'Boxses-excel.xlsx', { type: response.data.type });
|
||||
file_service.download(file);
|
||||
} catch (error) {
|
||||
notifyUnknownError(error);
|
||||
|
||||
Reference in New Issue
Block a user