mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 10:35:35 +01:00
Code cleanup.
This commit is contained in:
parent
21cdb06571
commit
7d5a24044a
10 changed files with 34 additions and 43 deletions
|
|
@ -30,7 +30,7 @@ function ReportItem({ title, description, url, icon }) {
|
|||
);
|
||||
}
|
||||
|
||||
export function ReportTemplates() {
|
||||
export function ReportTemplates({ showHeader = true }) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
|
||||
const reports = [
|
||||
|
|
@ -56,7 +56,7 @@ export function ReportTemplates() {
|
|||
|
||||
return (
|
||||
<Page>
|
||||
<PageHeader title={formatMessage(labels.reports)} />
|
||||
{showHeader && <PageHeader title={formatMessage(labels.reports)} />}
|
||||
<div className={styles.reports}>
|
||||
{reports.map(({ title, description, url, icon }) => {
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue