mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
fix export report route
This commit is contained in:
parent
7670ec4136
commit
6d124e7bb0
2 changed files with 12 additions and 12 deletions
|
|
@ -12,7 +12,9 @@ export function ReportBody({ children }) {
|
|||
|
||||
return (
|
||||
<div className={styles.body}>
|
||||
<DownloadButton filename={report.name} data={report.data} />
|
||||
{report.type !== 'revenue' && report.type !== 'attribution' && (
|
||||
<DownloadButton filename={report.name} data={report.data} />
|
||||
)}
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue