diff --git a/src/pages/Report.jsx b/src/pages/Report.jsx index f3b30c0..c7574d3 100644 --- a/src/pages/Report.jsx +++ b/src/pages/Report.jsx @@ -67,7 +67,7 @@ export default function Report(props) { title: 'Название отчета', dataIndex: 'reportName', key: 'reportName', - render: name => getReportFile(event, name)} download={name}>{name} + render: name => getReportFile(event, name)} download={name}>{name} }, ]; @@ -80,7 +80,7 @@ export default function Report(props) {
{ progressData.operation }
- {getReportFile(event, progressData.reportName)}} + {getReportFile(event, progressData.reportName)}} download={progressData.reportName}> { progressData.reportName } @@ -172,7 +172,7 @@ export default function Report(props) { } getRepostSizeAsync() - },[rangeDate, step, format]) + },[rangeDate, step, format, wellId]) useEffect(()=>{ async function getSuitableReportsAsync() { @@ -204,7 +204,7 @@ export default function Report(props) { } getSuitableReportsAsync() - },[rangeDate, step, format]) + },[rangeDate, step, format, wellId]) useEffect(()=>{ async function getDatesRange() { @@ -214,7 +214,7 @@ export default function Report(props) { } getDatesRange() - },[]) + },[wellId]) return (<>