mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Fixed metrics display.
This commit is contained in:
parent
2172dddd1c
commit
9dd35b3766
20 changed files with 345 additions and 808 deletions
|
|
@ -122,7 +122,7 @@ export default function TestConsole() {
|
|||
<Column>
|
||||
<WebsiteChart
|
||||
websiteId={website.id}
|
||||
title={website.name}
|
||||
name={website.name}
|
||||
domain={website.domain}
|
||||
showLink
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ export default function WebsiteChartList({ websites, showCharts, limit }) {
|
|||
<div key={id} className={styles.website}>
|
||||
<WebsiteChart
|
||||
websiteId={id}
|
||||
title={name}
|
||||
name={name}
|
||||
domain={domain}
|
||||
showChart={showCharts}
|
||||
showDetailsButton={true}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ export default function WebsiteDetails({ websiteId }) {
|
|||
<Page loading={isLoading} error={error}>
|
||||
<WebsiteChart
|
||||
websiteId={websiteId}
|
||||
title={data?.name}
|
||||
name={data?.name}
|
||||
domain={data?.domain}
|
||||
onDataLoad={handleDataLoad}
|
||||
showLink={false}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { Menu, Item, Icon, Button, Flexbox, Text } from 'react-basics';
|
||||
import { Icon, Button, Flexbox, Text } from 'react-basics';
|
||||
import Link from 'next/link';
|
||||
import { GridRow, GridColumn } from 'components/layout/Grid';
|
||||
import BrowsersTable from 'components/metrics/BrowsersTable';
|
||||
|
|
@ -19,6 +19,7 @@ import styles from './WebsiteMenuView.module.css';
|
|||
|
||||
const views = {
|
||||
url: PagesTable,
|
||||
title: PagesTable,
|
||||
referrer: ReferrersTable,
|
||||
browser: BrowsersTable,
|
||||
os: OSTable,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import { useState } from 'react';
|
||||
import { GridRow, GridColumn } from 'components/layout/Grid';
|
||||
//import { Row as GridRow, Column as GridColumn } from 'react-basics';
|
||||
import PagesTable from 'components/metrics/PagesTable';
|
||||
import ReferrersTable from 'components/metrics/ReferrersTable';
|
||||
import BrowsersTable from 'components/metrics/BrowsersTable';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue