real-boxses exel download

This commit is contained in:
Samandar Turg'unboev
2025-05-26 13:36:53 +05:00
parent ce2b8f3a62
commit ca60c5bdcc
2 changed files with 2 additions and 2 deletions

View File

@@ -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);